NLog Logging Library

LogLevel.FromString Method 

[This is preliminary documentation and subject to change.]

Returns the LogLevel that corresponds to the supplied string.

[Visual Basic]
Public Shared Function FromString( _
   ByVal s As String _
) As LogLevel
[C#]
public static LogLevel FromString(
   string s
);

Parameters

s
the texual representation of the log level

Return Value

the enumeration value.

See Also

LogLevel Class | NLog Namespace