Class DiagnosticsTraceWriter
Represents a trace writer that writes to the application's System.
Inheritance
System.Object
DiagnosticsTraceWriter
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Serialization
Assembly: Bayat.Json.Runtime.dll
Syntax
public class DiagnosticsTraceWriter : ITraceWriter
Properties
| Improve this Doc View SourceLevelFilter
Gets the System.
Info
will exclude Verbose
messages and include Info
,
Warning
and Error
messages.
Declaration
public TraceLevel LevelFilter { get; set; }
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
public 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. |