PostSharp 5.0 / / 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
  NameDescription
Public methodStatic memberEnableCategory(String)
Enables a trace category known by its name.
Public methodStatic memberEnableCategory(PostSharpTrace)
Enables a trace category known by its object.
Public methodWrite(String)
Writes a message to the current sink without formatting parameter.
Public methodWrite(String, Object)
Writes a message to the current sink with a single formatting parameter.
Public methodWrite(String, Object[])
Writes a message to the current sink with many formatting parameters.
Public methodWrite(String, Object, Object)
Writes a message to the current sink with two formatting parameters.
Public methodWrite(String, Object, Object, Object)
Writes a message to the current sink with three formatting parameters.
Public methodWriteLine(String)
Writes a message to the current sink without parameter, and issues a line break.
Public methodWriteLine(String, Object)
Writes a message to the current sink with a single formatting parameter, and issues a line break.
Public methodWriteLine(String, Object[])
Writes a message to the current sink with many formatting parameters, and issues a line break.
Public methodWriteLine(String, Object, Object)
Writes a message to the current sink with two formatting parameters, and issues a line break.
Public methodWriteLine(String, Object, Object, Object)
Writes a message to the current sink with three formatting parameters, and issues a line break.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also