| LoggerFactoryCreate Method |
Creates a logger with specified parameters
Namespace:
CodeStack.SwEx.Common.Diagnostics
Assembly:
CodeStack.SwEx.Common (in CodeStack.SwEx.Common.dll) Version: 0.9.9.0 (0.9.9.0)
Syntax public static ILogger Create(
string category = "SwEx",
bool logCallStack = false,
LoggerType_e type = LoggerType_e.Trace
)
Public Shared Function Create (
Optional category As String = "SwEx",
Optional logCallStack As Boolean = false,
Optional type As LoggerType_e = LoggerType_e.Trace
) As ILogger
Parameters
- category (Optional)
- Type: SystemString
Logger category - logCallStack (Optional)
- Type: SystemBoolean
True to log call stack - type (Optional)
- Type: CodeStack.SwEx.Common.DiagnosticsLoggerType_e
Type of the logger
Return Value
Type:
ILoggerNew logger instance
See Also