Click or drag to resize

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
)

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: ILogger
New logger instance
See Also