M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.Logger Class Reference

Public Member Functions

 Logger (string name)
 
 Logger (string name, bool writeErrorsToDifferentFile, bool logOnlyErrors, bool doNotUseProcessId, int numFiles=1, int totalFileSize=-1, bool overwrite=false)
 
void Print (string log, HTMLDebugCategory debugInfo=HTMLDebugCategory.General)
 
void Print (string log, HTMLDebugCategory debugInfo, bool printOnGlobal)
 

Static Public Member Functions

static void FinishAndCloseAll ()
 

Static Public Attributes

static string LogsFolder = ""
 

Properties

bool LogOnlyErrors [get, set]
 

Constructor & Destructor Documentation

◆ Logger() [1/2]

TaleWorlds.Library.Logger.Logger ( string name)

◆ Logger() [2/2]

TaleWorlds.Library.Logger.Logger ( string name,
bool writeErrorsToDifferentFile,
bool logOnlyErrors,
bool doNotUseProcessId,
int numFiles = 1,
int totalFileSize = -1,
bool overwrite = false )

Member Function Documentation

◆ Print() [1/2]

void TaleWorlds.Library.Logger.Print ( string log,
HTMLDebugCategory debugInfo = HTMLDebugCategory::General )

◆ Print() [2/2]

void TaleWorlds.Library.Logger.Print ( string log,
HTMLDebugCategory debugInfo,
bool printOnGlobal )

◆ FinishAndCloseAll()

static void TaleWorlds.Library.Logger.FinishAndCloseAll ( )
static

Member Data Documentation

◆ LogsFolder

string TaleWorlds.Library.Logger.LogsFolder = ""
static

Property Documentation

◆ LogOnlyErrors

bool TaleWorlds.Library.Logger.LogOnlyErrors
getset