Ejemplo n.º 1
0
 /**
  * @param logLevel the XWikilog level
  * @return the Logback log level
  */
 public static Level toLevel(LogLevel logLevel) {
   return logLevel != null ? Level.toLevel(logLevel.toString(), null) : null;
 }
Ejemplo n.º 2
0
 /**
  * @param level the Logback log level
  * @return the XWiki log level
  */
 public static LogLevel toLogLevel(Level level) {
   return level != null ? LogLevel.valueOf(level.toString()) : null;
 }