Kanzi 3.9.14
Log Class Reference

The Logging subsystem writes messages to the log. More...

Static Public Member Functions

static void debug (String message)
 Logs a message to the Debug category with an Info level.
 
static void error (String message)
 Logs a message to the Generic category with an Error level.
 
static void info (String message)
 Logs a message to the Generic category with an Info level.
 
static void warning (String message)
 Logs a message to the Generic category with a Warning level.
 

Detailed Description

The Logging subsystem writes messages to the log.

Use log levels to classify log messages based on the severity of the information that they contain. For example, to log critical problems, which occur during application execution, use the error log level com.rightware.kanzi.Log#error(String). To log normal application activity, use the info log level com.rightware.kanzi.Log#info(String).

Member Function Documentation

◆ debug()

static void debug ( String message)
static

Logs a message to the Debug category with an Info level.

Parameters
messageThe message to log.

◆ error()

static void error ( String message)
static

Logs a message to the Generic category with an Error level.

Parameters
messageThe message to log.

◆ info()

static void info ( String message)
static

Logs a message to the Generic category with an Info level.

Parameters
messageThe message to log.

◆ warning()

static void warning ( String message)
static

Logs a message to the Generic category with a Warning level.

Parameters
messageThe message to log.