Trace Class

Summary

Provides access to tracing functionality. This class is thread safe.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Tracing
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ITrace"] click Interface0 "/api/Wyam.Common.Tracing/ITrace" Type["Trace"] class Type type-node

Syntax

public class Trace : ITrace

Properties

Name Value Summary
Current ITrace
static
IndentLevel int
static
Level SourceLevels
static

Methods

Name Value Summary
AddListener(TraceListener) void
static
Critical(string, Object[]) void
static
Error(string, Object[]) void
static
GetListeners() IEnumerable<TraceListener>
static
Indent() int
static
Information(string, Object[]) void
static
RemoveListener(TraceListener) void
static
TraceEvent(TraceEventType, string, Object[]) void
static
Verbose(string, Object[]) void
static
Warning(string, Object[]) void
static
WithIndent() IIndentedTraceEvent
Indents all trace messages until the returned Wyam.Common.Tracing.IIndentedTraceEvent is disposed.
static
GitHub