LogWriter Class

Represents a file-based implementation of ILogWriter. Logs generated by this class are written to a file system at the following location:
C#
%windir%\AdcsCertMod.{moduleShortName}.log
.

Definition

Namespace: ADCS.CertMod.Managed
Assembly: ADCS.CertMod.Managed (in ADCS.CertMod.Managed.dll) Version: 1.2.0.0 (1.2.0.0)
C#
public class LogWriter : ILogWriter
Inheritance
Object    LogWriter
Implements
ILogWriter

Constructors

LogWriter Initializes a new instance

Properties

LogLevel Gets or sets the current logging level.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Log(LogLevel, Exception, String) Formats and writes a log message at the specified log level.
Log(LogLevel, String, Object) Formats and writes a log message at the specified log level.
LogCritical(Exception, String) Formats and writes a critical log message.
LogCritical(String, Object) Formats and writes a critical log message.
LogDebug(Exception, String) Formats and writes a debug log message.
LogDebug(String, Object) Formats and writes a debug log message.
LogError(Exception, String) Formats and writes an error log message.
LogError(String, Object) Formats and writes an error log message.
LogInformation(Exception, String) Formats and writes an informational log message.
LogInformation(String, Object) Formats and writes an informational log message.
LogTrace(Exception, String) Formats and writes a trace log message.
LogTrace(String, Object) Formats and writes a trace log message.
LogWarning(Exception, String) Formats and writes a warning log message.
LogWarning(String, Object) Formats and writes a warning log message.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also