Class Extensions
Extension methods for convenience in implementing log adapters.
Inherited Members
Namespace: LaunchDarkly.Logging
Assembly: LaunchDarkly.Logging.dll
Syntax
public static class Extensions
Methods
Uppercase(LogLevel)
Returns an all-uppercase string describing the log level.
Declaration
public static string Uppercase(this LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level |
Returns
Type | Description |
---|---|
string | DEBUG, INFO, etc. |
Remarks
This is more efficient than level.ToString().ToUpper()
.