-
Notifications
You must be signed in to change notification settings - Fork 2
Logging
Provides methods for logging into console and text file with additional informations
Path to a log file
Writes Error into console and file LogFile with additional information about caller method, class and line
Param | Description |
---|---|
ex | |
callerName | |
callerFilePath | |
callerLine |
Writes Info into console and file LogFile with additional information about caller method, class and line
Param | Description |
---|---|
text | |
callerName | |
callerFilePath | |
callerLine |
🔹 Method Logging.Logger.Info(System.String,System.ConsoleColor,System.String,System.String,System.Int32)
Writes Info into console and file LogFile
Param | Description |
---|---|
text | |
color | |
callerName | |
callerFilePath | |
callerLine |
Writes Info into console and file LogFile with additional information about caller method, class and line
Param | Description |
---|---|
text | |
callerName | |
callerFilePath | |
callerLine |
Writes Warning into console and file LogFile with additional information about caller method, class and line
Param | Description |
---|---|
text | |
callerName | |
callerFilePath | |
callerLine |
Thread safe logger
Gets logger file path
Returns instance of logger
Sets log file location Note: Default location is application base directory
Param | Description |
---|---|
pathToFile |
Adds message to queue
Param | Description |
---|---|
message |
Log all messages in queue
Disposes queue