The log manager provides methods to get instances of ILogger using a ILoggerFactory. Any logging framework of choice can be used by assigining a new ILoggerFactory with SetLoggerFactory. The default logger factory creates ILogger that do not log
More...
The log manager provides methods to get instances of ILogger using a ILoggerFactory. Any logging framework of choice can be used by assigining a new ILoggerFactory with SetLoggerFactory. The default logger factory creates ILogger that do not log
◆ GetCurrentClassLogger()
static ILogger ExitGames.Logging.LogManager.GetCurrentClassLogger |
( |
| ) |
|
|
inlinestatic |
Gets an ILogger for the calling class type.
- Returns
- A new ILogger for the calling class type.
◆ GetLogger()
static ILogger ExitGames.Logging.LogManager.GetLogger |
( |
string |
name | ) |
|
|
inlinestatic |
Gets an ILogger for the specified name.
- Parameters
-
- Returns
- A new ILogger for the specified name .
◆ SetLoggerFactory()
static void ExitGames.Logging.LogManager.SetLoggerFactory |
( |
ILoggerFactory |
factory | ) |
|
|
inlinestatic |
Assigns a new ILoggerFactory to create ILogger instances.
- Parameters
-
factory | The new factory. Set null to disable logging. |