code: public static void log(IoSession session, Throwable t) {
          Logger logger = getTransportLogger(session);
          log(session, logger, t);
      }
docs: Logs an unexpected exception in the same way LoggingFilter would, using the transport
  logger for the transport of the given session.