Пример #1
0
 /// <summary>
 /// Converts the provided NLog.LogLevel value to the internal LogLevel value.
 /// </summary>
 /// <param name="logLevel"></param>
 /// <returns></returns>
 public static LogLevel ConvertLevel(NLog.LogLevel logLevel)
 {
     return (LogLevel)Enum.Parse(typeof(LogLevel), logLevel.ToString());
 }
Пример #2
0
 public LogLevel(NLog.LogLevel level)
 {
     m_level = level.ToString();
 }