Java Code Examples for com.alibaba.dubbo.common.logger.Level#OFF
The following examples show how to use
com.alibaba.dubbo.common.logger.Level#OFF .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JdkLoggerAdapter.java From dubbo-2.6.5 with Apache License 2.0 | 6 votes |
private static Level fromJdkLevel(java.util.logging.Level level) { if (level == java.util.logging.Level.ALL) return Level.ALL; if (level == java.util.logging.Level.FINER) return Level.TRACE; if (level == java.util.logging.Level.FINE) return Level.DEBUG; if (level == java.util.logging.Level.INFO) return Level.INFO; if (level == java.util.logging.Level.WARNING) return Level.WARN; if (level == java.util.logging.Level.SEVERE) return Level.ERROR; // if (level == java.util.logging.Level.OFF) return Level.OFF; }
Example 2
Source File: Log4jLoggerAdapter.java From dubbo-2.6.5 with Apache License 2.0 | 6 votes |
private static Level fromLog4jLevel(org.apache.log4j.Level level) { if (level == org.apache.log4j.Level.ALL) return Level.ALL; if (level == org.apache.log4j.Level.TRACE) return Level.TRACE; if (level == org.apache.log4j.Level.DEBUG) return Level.DEBUG; if (level == org.apache.log4j.Level.INFO) return Level.INFO; if (level == org.apache.log4j.Level.WARN) return Level.WARN; if (level == org.apache.log4j.Level.ERROR) return Level.ERROR; // if (level == org.apache.log4j.Level.OFF) return Level.OFF; }
Example 3
Source File: JdkLoggerAdapter.java From dubbox with Apache License 2.0 | 6 votes |
private static Level fromJdkLevel(java.util.logging.Level level) { if (level == java.util.logging.Level.ALL) return Level.ALL; if (level == java.util.logging.Level.FINER) return Level.TRACE; if (level == java.util.logging.Level.FINE) return Level.DEBUG; if (level == java.util.logging.Level.INFO) return Level.INFO; if (level == java.util.logging.Level.WARNING) return Level.WARN; if (level == java.util.logging.Level.SEVERE) return Level.ERROR; // if (level == java.util.logging.Level.OFF) return Level.OFF; }
Example 4
Source File: Log4jLoggerAdapter.java From dubbox with Apache License 2.0 | 6 votes |
private static Level fromLog4jLevel(org.apache.log4j.Level level) { if (level == org.apache.log4j.Level.ALL) return Level.ALL; if (level == org.apache.log4j.Level.TRACE) return Level.TRACE; if (level == org.apache.log4j.Level.DEBUG) return Level.DEBUG; if (level == org.apache.log4j.Level.INFO) return Level.INFO; if (level == org.apache.log4j.Level.WARN) return Level.WARN; if (level == org.apache.log4j.Level.ERROR) return Level.ERROR; // if (level == org.apache.log4j.Level.OFF) return Level.OFF; }
Example 5
Source File: JdkLoggerAdapter.java From dubbox-hystrix with Apache License 2.0 | 6 votes |
private static Level fromJdkLevel(java.util.logging.Level level) { if (level == java.util.logging.Level.ALL) return Level.ALL; if (level == java.util.logging.Level.FINER) return Level.TRACE; if (level == java.util.logging.Level.FINE) return Level.DEBUG; if (level == java.util.logging.Level.INFO) return Level.INFO; if (level == java.util.logging.Level.WARNING) return Level.WARN; if (level == java.util.logging.Level.SEVERE) return Level.ERROR; // if (level == java.util.logging.Level.OFF) return Level.OFF; }
Example 6
Source File: Log4jLoggerAdapter.java From dubbox-hystrix with Apache License 2.0 | 6 votes |
private static Level fromLog4jLevel(org.apache.log4j.Level level) { if (level == org.apache.log4j.Level.ALL) return Level.ALL; if (level == org.apache.log4j.Level.TRACE) return Level.TRACE; if (level == org.apache.log4j.Level.DEBUG) return Level.DEBUG; if (level == org.apache.log4j.Level.INFO) return Level.INFO; if (level == org.apache.log4j.Level.WARN) return Level.WARN; if (level == org.apache.log4j.Level.ERROR) return Level.ERROR; // if (level == org.apache.log4j.Level.OFF) return Level.OFF; }
Example 7
Source File: JdkLoggerAdapter.java From dubbox with Apache License 2.0 | 6 votes |
private static Level fromJdkLevel(java.util.logging.Level level) { if (level == java.util.logging.Level.ALL) return Level.ALL; if (level == java.util.logging.Level.FINER) return Level.TRACE; if (level == java.util.logging.Level.FINE) return Level.DEBUG; if (level == java.util.logging.Level.INFO) return Level.INFO; if (level == java.util.logging.Level.WARNING) return Level.WARN; if (level == java.util.logging.Level.SEVERE) return Level.ERROR; // if (level == java.util.logging.Level.OFF) return Level.OFF; }
Example 8
Source File: Log4jLoggerAdapter.java From dubbox with Apache License 2.0 | 6 votes |
private static Level fromLog4jLevel(org.apache.log4j.Level level) { if (level == org.apache.log4j.Level.ALL) return Level.ALL; if (level == org.apache.log4j.Level.TRACE) return Level.TRACE; if (level == org.apache.log4j.Level.DEBUG) return Level.DEBUG; if (level == org.apache.log4j.Level.INFO) return Level.INFO; if (level == org.apache.log4j.Level.WARN) return Level.WARN; if (level == org.apache.log4j.Level.ERROR) return Level.ERROR; // if (level == org.apache.log4j.Level.OFF) return Level.OFF; }
Example 9
Source File: JdkLoggerAdapter.java From dubbox with Apache License 2.0 | 6 votes |
private static Level fromJdkLevel(java.util.logging.Level level) { if (level == java.util.logging.Level.ALL) return Level.ALL; if (level == java.util.logging.Level.FINER) return Level.TRACE; if (level == java.util.logging.Level.FINE) return Level.DEBUG; if (level == java.util.logging.Level.INFO) return Level.INFO; if (level == java.util.logging.Level.WARNING) return Level.WARN; if (level == java.util.logging.Level.SEVERE) return Level.ERROR; // if (level == java.util.logging.Level.OFF) return Level.OFF; }
Example 10
Source File: Log4jLoggerAdapter.java From dubbox with Apache License 2.0 | 6 votes |
private static Level fromLog4jLevel(org.apache.log4j.Level level) { if (level == org.apache.log4j.Level.ALL) return Level.ALL; if (level == org.apache.log4j.Level.TRACE) return Level.TRACE; if (level == org.apache.log4j.Level.DEBUG) return Level.DEBUG; if (level == org.apache.log4j.Level.INFO) return Level.INFO; if (level == org.apache.log4j.Level.WARN) return Level.WARN; if (level == org.apache.log4j.Level.ERROR) return Level.ERROR; // if (level == org.apache.log4j.Level.OFF) return Level.OFF; }
Example 11
Source File: Log4j2LoggerAdapter.java From dubbox with Apache License 2.0 | 5 votes |
public static Level fromLog4jLevel(org.apache.logging.log4j.Level level) { if (level == org.apache.logging.log4j.Level.ALL) return Level.ALL; if (level == org.apache.logging.log4j.Level.TRACE) return Level.TRACE; if (level == org.apache.logging.log4j.Level.DEBUG) return Level.DEBUG; if (level == org.apache.logging.log4j.Level.INFO) return Level.INFO; if (level == org.apache.logging.log4j.Level.WARN) return Level.WARN; if (level == org.apache.logging.log4j.Level.ERROR) return Level.ERROR; return Level.OFF; }