| NLogFactory Constructor (FuncTraceEventType, LogLevel) |
Create a logger factory with a custom translation routine
Namespace:
NLog.Owin.Logging
Assembly:
NLog.Owin.Logging (in NLog.Owin.Logging.dll) Version: 4.0+fa964b487a009a302dffab9a322d07bcc66aee9c
Syntax public NLogFactory(
Func<TraceEventType, LogLevel> getLogLevel
)
Public Sub New (
getLogLevel As Func(Of TraceEventType, LogLevel)
)
Dim getLogLevel As Func(Of TraceEventType, LogLevel)
Dim instance As New NLogFactory(getLogLevel)
new :
getLogLevel : Func<TraceEventType, LogLevel> -> NLogFactory
Parameters
- getLogLevel
- Type: SystemFuncTraceEventType, LogLevel
See Also