Namespace: Rx – Class: Logger – Header: Rx.Core/Logger.h

Logger Class

C++
#include "Rx.Core/Logger.h"
class Logger

A logger that logs all messages corresponding to its LogLevel.

Static Methods

Shutdown()

Flushes and closes pending loggers.

Log(logLevel, file, method, line, fmt, args)

Logs the given message. The message is built by combining the format string with the arguments.

Init(loggerType, logLevel, logTarget, tcpLogPort)

Initializes the logger. If the logger is already created, another call to Init will not change it. Use this to specify the type of the logger to use, and to give the lowest LogLevel that will be logged.