Summary
Defines an
Nuclei.Diagnostics.Logging.ILogger
which writes to the MsBuild logger.
- Namespace
- NBuildKit
.MsBuild .Tasks .Core - Base Types
-
- Nuclei
.Diagnostics .Logging .ILogger
- Nuclei
graph TD
Base0["Nuclei.Diagnostics.Logging.ILogger"]-->Type
Type["MsBuildLogger"]
class Type type-node
Syntax
public sealed class MsBuildLogger : Nuclei.Diagnostics.Logging.ILogger
Constructors
Name | Summary |
---|---|
MsBuildLogger |
Initializes a new instance of the MsBuildLogger class.
|
Properties
Name | Value | Summary |
---|---|---|
Level | LevelToLog |
Gets or sets the current
LevelToLog .
|
Methods
Name | Value | Summary |
---|---|---|
Close |
void |
Stops the logger and ensures that all log messages have been
saved to the log.
|
Dispose |
void |
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
|
Log |
void |
Logs the specified message.
|
ShouldLog |
bool |
Indicates if a message will be written to the log file based on the
current log level and the level of the message.
|