LoggerAttach Method (ILogger, LogConfig) |
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,
LogConfig config
)
Public Shared Sub Attach (
logger As ILogger,
config As LogConfig
)
public:
static void Attach(
ILogger^ logger,
LogConfig^ config
)
static member Attach :
logger : ILogger *
config : LogConfig -> unit
Parameters
- logger
- Type: Ozeki.CommonILogger
The logger - config
- Type: Ozeki.CommonLogConfig
The logger configuration which contains the desired log levels
See Also