Allows to emit build-time log records. Use the GetInstance(string) method
and then invoke WriteLine(string) or Activity(string) using the ?.
operator.
Namespace: PostSharp.Extensibility.BuildTimeLogging
Assembly: PostSharp.dll
Syntax
public sealed class BuildTimeLogger
Properties
Name | Description |
---|---|
IsInitialized | Determines whether the Initialize(IEnumerable<string>) method has already been invoked. |
Methods
Name | Description |
---|---|
Activity(string) | Writes a preformatted message and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method. |
Activity<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. |
Activity<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. |
Activity<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. |
Activity<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. |
Activity<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. |
Activity<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. |
Activity<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. |
GetInstance(string) | Gets a BuildTimeLogger for a given category, or |
Initialize(IEnumerable<string>) | Initializes the BuildTimeLogger facility. |
Write(string) | Appends a preformatted string to the next message. The message is sent and flushed when the WriteLine(string) method is invoked. |
Write(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. |
WriteLine(string) | Writes a preformatted log message. |
WriteLine(string, object[]) | Writes a log message and specifies the formatting string and an array of parameters. |
WriteLine<T1>(string, T1) | Writes a message given a formatting string and 1 argument. |
WriteLine<T1, T2>(string, T1, T2) | Writes a message given a formatting string and 2 arguments. |
WriteLine<T1, T2, T3>(string, T1, T2, T3) | Writes a message given a formatting string and 3 arguments. |
WriteLine<T1, T2, T3, T4>(string, T1, T2, T3, T4) | Writes a message given a formatting string and 4 arguments. |
WriteLine<T1, T2, T3, T4, T5>(string, T1, T2, T3, T4, T5) | Writes a message given a formatting string and 5 arguments. |
WriteLine<T1, T2, T3, T4, T5, T6>(string, T1, T2, T3, T4, T5, T6) | Writes a message given a formatting string and 6 arguments. |
WriteLine<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. |
Write<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. |
Write<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. |
Write<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. |
Write<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. |
Write<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. |
Write<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. |
Write<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. |