Class WarfareLoggerProvider
public class WarfareLoggerProvider : ILoggerProvider, IDisposable
- Inheritance
-
WarfareLoggerProvider
- Implements
- Inherited Members
Constructors
WarfareLoggerProvider(ITranslationValueFormatter?)
public WarfareLoggerProvider(ITranslationValueFormatter? formatter)
Parameters
formatterITranslationValueFormatter
Methods
CreateLogger(string)
Creates a new ILogger instance.
public ILogger CreateLogger(string categoryName)
Parameters
categoryNamestringThe category name for messages produced by the logger.
Returns
WriteToLogRaw(LogLevel, string, string?)
Log something to the console and file.
public static void WriteToLogRaw(LogLevel logLevel, string text, string? unformattedLog)