gboat2.base.core.logging
接口 IBusinessLogService

所有已知实现类:
BusinessLogServiceImpl

public interface IBusinessLogService

日志服务接口

作者:
zhangxj-a, lism, hemw

方法摘要
 void debug(BusinessLogEntry businessLogEntry)
          debug
 void error(BusinessLogEntry businessLogEntry)
          error
 void info(BusinessLogEntry businessLogEntry)
          info
 void log(Level level, String operationType, String operation)
          记录日志
 void log(Level level, String operationType, String operation, String operationObject)
          记录日志
 void log(Level level, String operationType, String operation, String operationObject, String memo)
          记录日志
 void warn(BusinessLogEntry businessLogEntry)
          warn
 

方法详细信息

debug

void debug(BusinessLogEntry businessLogEntry)
           throws GboatLoggingException
debug

参数:
businessLogEntry - 业务实体
抛出:
DefaultBusinessNestedException - 抛出默认检查异常
GboatLoggingException

info

void info(BusinessLogEntry businessLogEntry)
          throws GboatLoggingException
info

参数:
businessLogEntry - 业务实体
抛出:
DefaultBusinessNestedException - 抛出默认检查异常
GboatLoggingException

warn

void warn(BusinessLogEntry businessLogEntry)
          throws GboatLoggingException
warn

参数:
businessLogEntry - 业务实体
抛出:
DefaultBusinessNestedException - 抛出默认检查异常
GboatLoggingException

error

void error(BusinessLogEntry businessLogEntry)
           throws GboatLoggingException
error

参数:
businessLogEntry - 业务实体
抛出:
DefaultBusinessNestedException - 抛出默认检查异常
GboatLoggingException

log

void log(Level level,
         String operationType,
         String operation)
记录日志

参数:
level - 日志级别
operationType - 操作类型,如新建,删除等
operation - 记录的操作内容

log

void log(Level level,
         String operationType,
         String operation,
         String operationObject)
记录日志

参数:
level - 日志级别
operationType - 操作类型,如新建,删除等
operation - 记录的操作内容
operationObject - 操作的对象名称

log

void log(Level level,
         String operationType,
         String operation,
         String operationObject,
         String memo)
记录日志

参数:
level - 日志级别
operationType - 操作类型,如新建,删除等
operation - 记录的操作内容
operationObject - 操作的对象名称
memo - 日志备注


Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.