Class DebugLogManager
Log manager for debugging.
Inheritance
System.Object
DebugLogManager
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Diagnostics.Logging
Assembly: Kephas.Core.dll
Syntax
public class DebugLogManager : ILogManager
Constructors
| Improve this Doc View SourceDebugLogManager(Action<String, String, Object, Exception>)
Initializes a new instance of the DebugLogManager class.
Declaration
public DebugLogManager(Action<string, string, object, Exception> logCallback = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.String, System.String, System.Object, System.Exception> | logCallback | The log callback (optional). |
Methods
| Improve this Doc View SourceGetLogger(String)
Gets the logger with the provided name.
Declaration
public ILogger GetLogger(string loggerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | loggerName | Name of the logger. |
Returns
Type | Description |
---|---|
ILogger | A logger for the provided name. |