Show / Hide Table of Contents

Class Extensions

Extension methods for convenience in implementing log adapters.

Inheritance
System.Object
Extensions
Namespace: LaunchDarkly.Logging
Assembly: LaunchDarkly.Logging.dll
Syntax
public static class Extensions : Object

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
System.String

DEBUG, INFO, etc.

Remarks

This is more efficient than level.ToString().ToUpper().

In This Article
Back to top Generated by DocFX