Rubeus::UtilityComponents::RLogger class

A container class that contains all logger utilities.

Contents

Public static functions

static void Init()
Initialises LogFile.
static void PrintLog(std::string logMessage)
prints brief log without color formatting
static void PrintExtendedLog(std::string logMessage, std::string file, int line)
prints brief extended log without color formatting
static void PrintExtendedLog(std::string logMessage, std::string severity, std::string file, int line)
prints brief extended log with color formatting
static void CreateLogFile()
Creates Log file and folder.
static void CloseLogFile()
Closes Log file and deleted the pointer to it.

Function documentation

static void Rubeus::UtilityComponents::RLogger::PrintLog(std::string logMessage)

prints brief log without color formatting

Parameters
logMessage The log message to be printed.

static void Rubeus::UtilityComponents::RLogger::PrintExtendedLog(std::string logMessage, std::string file, int line)

prints brief extended log without color formatting

Parameters
logMessage The log message to be printed.
file The file in which this log macro is called(FILE).
line The line in which this log macro is called(LINE).

static void Rubeus::UtilityComponents::RLogger::PrintExtendedLog(std::string logMessage, std::string severity, std::string file, int line)

prints brief extended log with color formatting

Parameters
logMessage The log message to be printed.
severity The severity level of the log to be printed, sould be in compliance with the severityMap.
file The file in which this log macro is called(FILE).
line The line in which this log macro is called(LINE).

static void Rubeus::UtilityComponents::RLogger::CreateLogFile()

Creates Log file and folder.

static void Rubeus::UtilityComponents::RLogger::CloseLogFile()

Closes Log file and deleted the pointer to it.