| LoggingStringFor Method |
Retrieves the log event class name associated with the specified log level.
Namespace:
Akka.Event
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static string StringFor(
this LogLevel logLevel
)
[<ExtensionAttribute>]
static member StringFor :
logLevel : LogLevel -> string
Parameters
- logLevel
- Type: Akka.EventLogLevel
The log level used to lookup the associated class.
Return Value
Type:
StringThe log event class name associated with the specified log level.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
LogLevel. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions Exception | Condition |
---|
ArgumentException | The exception is thrown if the given logLevel is unknown. |
See Also