Interface IScopeManager
IScopeManager defines the log manager. Use DefaultScopeLogFactory or ServiceExtensions.
Namespace: DevInstance.LogScope
Assembly: DevInstance.LogScope.dll
Syntax
public interface IScopeManager
Properties
| Improve this Doc View SourceBaseLevel
Base logging level that defines the minimum logging level for the application. LogLevel
Declaration
LogLevel BaseLevel { get; }
Property Value
Type | Description |
---|---|
LogLevel |
Methods
| Improve this Doc View SourceCreateLogger(String)
Creates a main scope
Declaration
IScopeLog CreateLogger(string scope)
Parameters
Type | Name | Description |
---|---|---|
System.String | scope | scope's name |
Returns
Type | Description |
---|---|
IScopeLog | Reference to the scope IScopeLog |