Java Code Examples for io.netty.util.internal.logging.InternalLogLevel#equals()
The following examples show how to use
io.netty.util.internal.logging.InternalLogLevel#equals() .
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: NettyLogger.java From rocketmq-4.3.0 with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s); } }
Example 2
Source File: NettyLogger.java From rocketmq-4.3.0 with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object o) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, o); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, o); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, o); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, o); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, o); } }
Example 3
Source File: NettyLogger.java From rocketmq-4.3.0 with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object o, Object o1) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, o, o1); } }
Example 4
Source File: NettyLogger.java From rocketmq-4.3.0 with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object... objects) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, objects); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, objects); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, objects); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, objects); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, objects); } }
Example 5
Source File: NettyLogger.java From rocketmq-4.3.0 with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Throwable throwable) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, throwable); } }
Example 6
Source File: NettyLogger.java From rocketmq-read with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s); } }
Example 7
Source File: NettyLogger.java From rocketmq-read with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object o) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, o); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, o); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, o); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, o); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, o); } }
Example 8
Source File: NettyLogger.java From rocketmq-read with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object o, Object o1) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, o, o1); } }
Example 9
Source File: NettyLogger.java From rocketmq-read with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object... objects) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, objects); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, objects); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, objects); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, objects); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, objects); } }
Example 10
Source File: NettyLogger.java From rocketmq-read with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Throwable throwable) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, throwable); } }
Example 11
Source File: NettyLogger.java From rocketmq with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s); } }
Example 12
Source File: NettyLogger.java From rocketmq with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object o) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, o); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, o); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, o); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, o); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, o); } }
Example 13
Source File: NettyLogger.java From rocketmq with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object o, Object o1) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, o, o1); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, o, o1); } }
Example 14
Source File: NettyLogger.java From rocketmq with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Object... objects) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, objects); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, objects); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, objects); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, objects); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, objects); } }
Example 15
Source File: NettyLogger.java From rocketmq with Apache License 2.0 | 6 votes |
@Override public void log(InternalLogLevel internalLogLevel, String s, Throwable throwable) { if (internalLogLevel.equals(InternalLogLevel.DEBUG)) { logger.debug(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.TRACE)) { logger.info(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.INFO)) { logger.info(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.WARN)) { logger.warn(s, throwable); } if (internalLogLevel.equals(InternalLogLevel.ERROR)) { logger.error(s, throwable); } }