/** * @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; }
/** * @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; }