Class ConsoleLoggerProvider
Inherited Members
Namespace: SlipeServer.Server.Loggers
Assembly: SlipeServer.Server.dll
Syntax
[ProviderAlias("ConsoleLogger")]
public sealed class ConsoleLoggerProvider : ILoggerProvider, IDisposable
  Constructors
| Edit this page View SourceConsoleLoggerProvider(IElementCollection, DebugLog)
Declaration
public ConsoleLoggerProvider(IElementCollection elementCollection, DebugLog debugLog)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IElementCollection | elementCollection | |
| DebugLog | debugLog | 
Methods
| Edit this page View SourceCreateLogger(string)
Creates a new ILogger instance.
Declaration
public ILogger CreateLogger(string categoryName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | categoryName | The category name for messages produced by the logger.  | 
      
Returns
| Type | Description | 
|---|---|
| ILogger | The instance of ILogger that was created.  | 
      
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()