LoggerAttach Method (ILogger, LogLevel) |
Provides the possibility of multitarget logging (into file, database etc.)
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static void Attach(
ILogger logger,
LogLevel logLevel
)
Public Shared Sub Attach (
logger As ILogger,
logLevel As LogLevel
)
public:
static void Attach(
ILogger^ logger,
LogLevel logLevel
)
static member Attach :
logger : ILogger *
logLevel : LogLevel -> unit
Parameters
- logger
- Type: Ozeki.CommonILogger
The logger - logLevel
- Type: Ozeki.CommonLogLevel
The desired log level which will be applied to all log message types
See Also