Craig's Utility Library
4.0 Beta
|
Logger base More...
Public Member Functions | |
abstract void | AddLog (string Name="Default") |
Adds a log object or replaces one already in use More... | |
ILog | GetLog (string Name="Default") |
Gets a specified log More... | |
override string | ToString () |
String representation of the logger More... | |
Public Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass | |
void | Dispose () |
Dispose function More... | |
Protected Member Functions | |
LoggerBase () | |
Constructor More... | |
override void | Dispose (bool Managed) |
Disposes of the objects More... | |
Protected Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass | |
SafeDisposableBaseClass () | |
Construct More... | |
Properties | |
IDictionary< string, ILog > | Logs [get] |
Called to log the current message More... | |
abstract string | Name [get] |
Name of the logger More... | |
Properties inherited from Utilities.IO.Logging.Interfaces.ILogger | |
IDictionary< string, ILog > | Logs [get] |
Logs held by the logger More... | |
string | Name [get] |
Name of the logger More... | |
Logger base
Definition at line 33 of file LoggerBase.cs.
|
protected |
Constructor
Definition at line 38 of file LoggerBase.cs.
|
pure virtual |
Adds a log object or replaces one already in use
Name | The name of the log file |
Implements Utilities.IO.Logging.Interfaces.ILogger.
Implemented in Utilities.IO.Logging.Default.DefaultLogger.
|
protectedvirtual |
Disposes of the objects
Managed | True to dispose of all resources, false only disposes of native resources |
Implements Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass.
Definition at line 86 of file LoggerBase.cs.
ILog Utilities.IO.Logging.BaseClasses.LoggerBase.GetLog | ( | string | Name = "Default" | ) |
Gets a specified log
Name | The name of the log file |
Implements Utilities.IO.Logging.Interfaces.ILogger.
Definition at line 64 of file LoggerBase.cs.
override string Utilities.IO.Logging.BaseClasses.LoggerBase.ToString | ( | ) |
String representation of the logger
Definition at line 75 of file LoggerBase.cs.
|
get |
Called to log the current message
Definition at line 46 of file LoggerBase.cs.
|
get |
Name of the logger
Definition at line 51 of file LoggerBase.cs.