| LoggerOptionsAttribute Constructor |
Specifies the logger type and option to log call stack
Namespace:
CodeStack.SwEx.Common.Attributes
Assembly:
CodeStack.SwEx.Common (in CodeStack.SwEx.Common.dll) Version: 0.9.9.0 (0.9.9.0)
Syntax public LoggerOptionsAttribute(
bool logCallStack,
string name = "",
LoggerType_e type = LoggerType_e.Trace
)
Public Sub New (
logCallStack As Boolean,
Optional name As String = "",
Optional type As LoggerType_e = LoggerType_e.Trace
)
Parameters
- logCallStack
- Type: SystemBoolean
True to include call stack into the exception log message - name (Optional)
- Type: SystemString
Name of the logger - type (Optional)
- Type: CodeStack.SwEx.Common.DiagnosticsLoggerType_e
Type of logger
See Also