org.apache.mina.util
Class SessionLog
java.lang.Object
org.apache.mina.util.SessionLog
public class SessionLog
- extends Object
Call getLogger(Session)
, log(Level,Session, String)
, and
log(Level,Session, String, Throwable)
to log protocol-specific messages.
Set PREFIX
and LOGGER
session attributes
to override prefix string, logger, and log level.
- Version:
- $Rev: 210062 $, $Date: 2005-07-11 12:52:38 +0900 $
- Author:
- The Apache Directory Project (dev@directory.apache.org), Trustin Lee (trustin@apache.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final String PREFIX
- Session attribute key: prefix string
LOGGER
public static final String LOGGER
- Session attribute key:
Logger
SessionLog
public SessionLog()
getLogger
public static Logger getLogger(Session session)
log
public static void log(Level level,
Session session,
String message)
log
public static void log(Level level,
Session session,
String message,
Throwable cause)
Copyright © 2004-2005 . All Rights Reserved.