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
void

Logger.SetLevel(Logger.Level)

Sets the current log level.

void

Logger.CreateCustomLogger(Logger.Callback)

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

void

Logger.CreateFileLogger(String)

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

void

Logger.CreateStderrLogger()

Creates a logger implementation that writes data to stderr.

void

Logger.DestroyLogger()

Destroys any previously created logger.

Methods

void Logger.SetLevel (Logger.Level a)

Sets the current log level.

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

void Logger.CreateCustomLogger (Logger.Callback a)

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.

void Logger.CreateFileLogger (String a)

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

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

void Logger.CreateStderrLogger ()

Creates a logger implementation that writes data to stderr.

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

void Logger.DestroyLogger ()

Destroys any previously created logger.

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

×