Learn how to evaluate and integrate the VNC SDK
Logger¶
-
public final class
Logger
¶ A container for static methods.
Nested Classes¶
- interface
Logger.Callback
- enum
Logger.Level
Method Summary¶
Modifier and Type | Method and Description |
---|---|
void |
Creates a logger implementation that writes data to the Android log. |
void |
Creates a logger implementation that calls the given callback whenever a log message is written. |
void |
Creates a logger that writes data to the specified log file. |
void |
Creates a logger implementation that writes data to stderr. |
void |
Destroys any previously created logger. |
void |
Sets the current log level. |
Methods¶
-
public static void
createAndroidLogger
()¶ Creates a logger implementation that writes data to the Android log.
For more information, see
vnc_Logger_createAndroidLogger()
.
-
public static void
createCustomLogger
(Logger.Callback callback) throws Library.VncException¶ Creates a logger implementation that calls the given callback whenever a log message is written.
For more information, see
vnc_Logger_createCustomLogger()
.
-
public static void
createFileLogger
(String path) throws Library.VncException¶ Creates a logger that writes data to the specified log file.
For more information, see
vnc_Logger_createFileLogger()
.
-
public static void
createStderrLogger
()¶ Creates a logger implementation that writes data to stderr.
For more information, see
vnc_Logger_createStderrLogger()
.
-
public static void
destroyLogger
()¶ Destroys any previously created logger.
For more information, see
vnc_Logger_destroyLogger()
.
-
public static void
setLevel
(Level level)¶ Sets the current log level.
For more information, see
vnc_Logger_setLevel()
.