DokanNet.Logging.LoggerExtensions Class Reference
Extension functions to log messages. More...
Static Public Member Functions | |
static string | FormatMessageForLogging (this string message, string category=null, string loggerName="", DateTimeFormatInfo dateTimeFormatInfo=null) |
Format a log message. More... | |
static string | FormatMessageForLogging (this string message, bool addDateTime=false, string category=null, string loggerName="", DateTimeFormatInfo dateTimeFormatInfo=null) |
Format a log message. More... | |
Detailed Description
Extension functions to log messages.
Member Function Documentation
|
inlinestatic |
Format a log message.
- Parameters
-
message Message to format. category Optional category to add to the log message. loggerName Optional log name to at to the log message. dateTimeFormatInfo An object that supplies format information for DateTime.
- Returns
- A formated log message.
|
inlinestatic |
Format a log message.
- Parameters
-
message Message to format. addDateTime If date and time shout be added to the log message. category Optional category to add to the log message. loggerName Optional log name to at to the log message. dateTimeFormatInfo An object that supplies format information for DateTime.
- Returns
- A formated log message.
The documentation for this class was generated from the following file:
- LoggerExtensions.cs