Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Logger

class Logger

A container for static methods.

For more information, see vnc_Logger in the C API documentation.

Nested classes

Method summary

Modifier and Type Method and Description
static void

Logger.SetLevel(Logger.Level level)

Sets the current log level.

static void

Logger.CreateCustomLogger(Logger.Callback callback)

Creates a logger implementation that calls the given callback whenever a log message is written.

static void

Logger.CreateFileLogger(String path)

Creates a logger that writes data to the specified log file.

static void

Logger.CreateStderrLogger()

Creates a logger implementation that writes data to stderr.

static void

Logger.DestroyLogger()

Destroys any previously created logger.

Methods

static void Logger.SetLevel (Logger.Level level)

Sets the current log level.

For more information, see vnc_Logger_setLevel() in the C API documentation.

static void Logger.CreateCustomLogger (Logger.Callback callback)

Creates a logger implementation that calls the given callback whenever a log message is written.

For more information, see vnc_Logger_createCustomLogger() in the C API documentation.

static void Logger.CreateFileLogger (String path)

Creates a logger that writes data to the specified log file.

For more information, see vnc_Logger_createFileLogger() in the C API documentation.

static void Logger.CreateStderrLogger ()

Creates a logger implementation that writes data to stderr.

For more information, see vnc_Logger_createStderrLogger() in the C API documentation.

static void Logger.DestroyLogger ()

Destroys any previously created logger.

For more information, see vnc_Logger_destroyLogger() in the C API documentation.

×