PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Post­Sharp­Trace Class / Post­Sharp­Trace Methods
PostSharpTrace Methods

The PostSharpTrace type exposes the following members.

Methods
  Name Description
Public method Static member EnableCategory(String)
Enables a trace category known by its name.
Public method Static member EnableCategory(PostSharpTrace)
Enables a trace category known by its object.
Public method Write(String)
Writes a message to the current sink without formatting parameter.
Public method Write(String, Object)
Writes a message to the current sink with a single formatting parameter.
Public method Write(String, Object[])
Writes a message to the current sink with many formatting parameters.
Public method Write(String, Object, Object)
Writes a message to the current sink with two formatting parameters.
Public method Write(String, Object, Object, Object)
Writes a message to the current sink with three formatting parameters.
Public method WriteLine(String)
Writes a message to the current sink without parameter, and issues a line break.
Public method WriteLine(String, Object)
Writes a message to the current sink with a single formatting parameter, and issues a line break.
Public method WriteLine(String, Object[])
Writes a message to the current sink with many formatting parameters, and issues a line break.
Public method WriteLine(String, Object, Object)
Writes a message to the current sink with two formatting parameters, and issues a line break.
Public method WriteLine(String, Object, Object, Object)
Writes a message to the current sink with three formatting parameters, and issues a line break.
Extension Methods
  Name Description
Public Extension Method QueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also