public class StaffLogAction extends ActionSupport implements SessionAware {\x05private Log logger = LogFactory.getLog(StaffLogAction.class);
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/21 02:57:38
publicclassStaffLogActionextendsActionSupportimplementsSessionAware{\x05privateLoglogger=LogFactory.
public class StaffLogAction extends ActionSupport implements SessionAware {\x05private Log logger = LogFactory.getLog(StaffLogAction.class);
public class StaffLogAction extends ActionSupport implements SessionAware {
\x05private Log logger = LogFactory.getLog(StaffLogAction.class);
public class StaffLogAction extends ActionSupport implements SessionAware {\x05private Log logger = LogFactory.getLog(StaffLogAction.class);
以StaffLogAction字节码内存区域地址为标示,通过日志工程来创建一个该标示的日志输出对象.这个是log4j的普通用法,详情可以参考log4j的相关用法.
--Best wishes! Jason