Interface ITraceWriter
Represents a trace writer.
Namespace: Bayat.Json.Serialization
Assembly: Bayat.Json.Runtime.dll
Syntax
public interface ITraceWriter
Properties
| Improve this Doc View SourceLevelFilter
Gets the System.
Info
will exclude Verbose
messages and include Info
,
Warning
and Error
messages.
Declaration
TraceLevel LevelFilter { get; }
Property Value
Type | Description |
---|---|
System. |
The System. |
Methods
| Improve this Doc View SourceTrace(TraceLevel, String, Exception)
Writes the specified trace level, message and optional exception.
Declaration
void Trace(TraceLevel level, string message, Exception ex)
Parameters
Type | Name | Description |
---|---|---|
System. |
level | The System. |
System. |
message | The trace message. |
System. |
ex | The trace exception. This parameter is optional. |