Base Framework
Public Types | Static Public Member Functions | List of all members
SystemLogger Class Reference

System logger. More...

#include <base/SystemLogger.h>

Inherits Object.

Public Types

enum  MessageType { INFORMATION = 0, WARNING = 1, ERROR = 2 }
 

Static Public Member Functions

static void write (MessageType type, const String &message) noexcept
 
static void write (MessageType type, const WideString &message) noexcept
 
static void write (MessageType type, const char *message) noexcept
 

Detailed Description

System logger.

Version
1.0

Member Enumeration Documentation

◆ MessageType

Specifies the type of the message.

Enumerator
INFORMATION 

Informational message.

WARNING 

Warning message.

ERROR 

Error message.

Member Function Documentation

◆ write() [1/3]

static void SystemLogger::write ( MessageType  type,
const char *  message 
)
staticnoexcept

Sends the specified message to the system logger.

◆ write() [2/3]

static void SystemLogger::write ( MessageType  type,
const String message 
)
staticnoexcept

Sends the specified message to the system logger.

◆ write() [3/3]

static void SystemLogger::write ( MessageType  type,
const WideString message 
)
staticnoexcept

Sends the specified message to the system logger.