@Test public void logWithErrorLevelLoggerShouldNotLog() throws Exception { final Logger logger = context.mock(Logger.class); context.checking(new Expectations() { { oneOf(logger).isWarnEnabled(); will(returnValue(false)); } }); LoggingUtils.log(sessionEx, logger, new Exception()); }
public static void log(IoSession session, Throwable t) { Logger logger = getTransportLogger(session); log(session, logger, t); }
LoggingUtils { public static void log(IoSession session, Throwable t) { Logger logger = getTransportLogger(session); log(session, logger, t); } }
LoggingUtils { public static void log(IoSession session, Throwable t) { Logger logger = getTransportLogger(session); log(session, logger, t); } private  LoggingUtils(); }
LoggingUtils { public static void log(IoSession session, Throwable t) { Logger logger = getTransportLogger(session); log(session, logger, t); } private  LoggingUtils(); static String addSession(String message, IoSession session); static String getId(IoSession session); static void log(IoSession session, Throwable t); static void log(IoSession session, Logger logger, Throwable t); static void log(IoSession session, Logger logger, String message, Throwable t); }
LoggingUtils { public static void log(IoSession session, Throwable t) { Logger logger = getTransportLogger(session); log(session, logger, t); } private  LoggingUtils(); static String addSession(String message, IoSession session); static String getId(IoSession session); static void log(IoSession session, Throwable t); static void log(IoSession session, Logger logger, Throwable t); static void log(IoSession session, Logger logger, String message, Throwable t); static final String NETWORK_CONNECTIVITY_ERROR_MESSAGE; static final String EARLY_TERMINATION_OF_IOSESSION_MESSAGE; }