Interface ILoggerSource
A contract specifying the ability to provide ILog instances.
Namespace: DotNetNuke.Instrumentation
Assembly: DotNetNuke.Instrumentation.dll
Syntax
public interface ILoggerSource
Methods
| Improve this Doc View SourceGetLogger(String)
Gets the logger for the given name.
Declaration
ILog GetLogger(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name for the logger instance. |
Returns
| Type | Description |
|---|---|
| ILog | An ILog instance. |
GetLogger(Type)
Gets the logger for the given type.
Declaration
ILog GetLogger(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type providing the name for the logger instance. |
Returns
| Type | Description |
|---|---|
| ILog | An ILog instance. |