PostSharp6.6//API Reference/Post­Sharp.​Extensibility.​Build­Time­Logging Namespace/Build­Time­Logger Class/Build­Time­Logger Methods

BuildTimeLogger Methods

The BuildTimeLogger type exposes the following members.

Methods
  NameDescription
Public methodActivity(String)
Writes a preformatted message and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.
Public methodActivity<T1>(String, T1)
Writes a message given a formatting string and 1 argument, and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.
Public methodActivity<T1, T2>(String, T1, T2)
Writes a message given a formatting string and 2 arguments, and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.
Public methodActivity<T1, T2, T3>(String, T1, T2, T3)
Writes a message given a formatting string and 3 arguments, and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.
Public methodActivity<T1, T2, T3, T4>(String, T1, T2, T3, T4)
Writes a message given a formatting string and 4 arguments, and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.
Public methodActivity<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)
Writes a message given a formatting string and 5 arguments, and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.
Public methodActivity<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)
Writes a message given a formatting string and 6 arguments, and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.
Public methodActivity<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)
Writes a message given a formatting string and 7 arguments, and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.
Public methodStatic memberGetInstance
Gets a BuildTimeLogger for a given category, or null if logging is not enabled for this category.
Public methodStatic memberInitialize
Initializes the BuildTimeLogger facility.
Public methodWrite(String)
Appends a preformatted string to the next message. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWrite(String, Object[])
Appends a string to the next message and formats it using a formatting string and an array of parameters. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWrite<T1>(String, T1)
Appends a string to the next message and formats it using a formatting string and 1 argument. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWrite<T1, T2>(String, T1, T2)
Appends a string to the next message and formats it using a formatting string and 2 arguments. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWrite<T1, T2, T3>(String, T1, T2, T3)
Appends a string to the next message and formats it using a formatting string and 3 arguments. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWrite<T1, T2, T3, T4>(String, T1, T2, T3, T4)
Appends a string to the next message and formats it using a formatting string and 4 arguments. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWrite<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)
Appends a string to the next message and formats it using a formatting string and 5 arguments. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWrite<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)
Appends a string to the next message and formats it using a formatting string and 6 arguments. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWrite<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)
Appends a string to the next message and formats it using a formatting string and 7 arguments. The message is sent and flushed when the WriteLine(String) method is invoked.
Public methodWriteLine(String)
Writes a preformatted log message.
Public methodWriteLine(String, Object[])
Writes a log message and specifies the formatting string and an array of parameters.
Public methodWriteLine<T1>(String, T1)
Writes a message given a formatting string and 1 argument.
Public methodWriteLine<T1, T2>(String, T1, T2)
Writes a message given a formatting string and 2 arguments.
Public methodWriteLine<T1, T2, T3>(String, T1, T2, T3)
Writes a message given a formatting string and 3 arguments.
Public methodWriteLine<T1, T2, T3, T4>(String, T1, T2, T3, T4)
Writes a message given a formatting string and 4 arguments.
Public methodWriteLine<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)
Writes a message given a formatting string and 5 arguments.
Public methodWriteLine<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)
Writes a message given a formatting string and 6 arguments.
Public methodWriteLine<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)
Writes a message given a formatting string and 7 arguments.
See Also