![]() | Logger Class |
Namespace: Koden.Utils.Logger
The Logger type exposes the following members.
Name | Description | |
---|---|---|
![]() | AppendToDayLogFile |
Gets or sets a value indicating whether to append to daily log file.
|
![]() | CopyToConsole |
Gets or sets wether to write to the console.
|
![]() | CurrentLogFile |
Gets or sets the log path and file currently being used.
|
![]() | IsDebug |
Gets or sets a value indicating whether this instance is in debug mode.
|
![]() | IsEnabled |
Gets or sets a value indicating whether to write logs to a file.
|
![]() | IsVerbose |
Gets or sets wether the logger is in Verbose mode.
|
![]() | LogErrorToEventLog |
Gets or sets a value indicating whether to log errors to event log.
|
![]() | LogInformationToEventLog |
Gets or sets a value indicating whether log information records to event log. (Probably not a good idea)
|
![]() | LogToEventLog |
Gets or sets a value indicating whether to log to event log.
|
![]() | LogWarningToEventLog |
Gets or sets a value indicating whether log warnings to event log.
|
![]() | SourceNameForEventLog |
Gets or sets a value indicating the source name to use for event log logging.
|
Name | Description | |
---|---|---|
![]() | Debug |
Logs a Debug message.
|
![]() | Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
![]() | EmptyLine |
Writes a Separator line to the LogFile.
============================== yyyy-MM-dd hh:mm:ss ============================
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Error |
Logs an Error message.
|
![]() | Finalize |
Finalizes an instance of the Logger class.
(Overrides ObjectFinalize.) |
![]() | FlushLog |
Flushes the Queue to the physical log file
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Info |
Logs an informational message.
|
![]() ![]() | Instance(String) |
An LogWriter instance that exposes a single instance
|
![]() ![]() | Instance(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, String, String) |
Instances the specified log to file.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RunningLog |
Gets or sets the running log (for sending just current log via Email, etc).
|
![]() | Separator |
Writes a Separator line to the LogFile.
============================== yyyy-MM-dd hh:mm:ss ============================
|
![]() | ToHTMLTable |
Creates a string to contain the HTML representation of the log using a table.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Verbose |
Logs an informational message only if IsVerbose is true.
|
![]() | Warning |
Logs a warning message.
|
![]() | WriteRetVal |
Parses FWRetVal and writes to log - quick way to write either Error or Success.
|