com.github.ltsopensource.tasktracker.logger
Class BizLoggerImpl

java.lang.Object
  extended by com.github.ltsopensource.tasktracker.logger.BizLoggerAdapter
      extended by com.github.ltsopensource.tasktracker.logger.BizLoggerImpl
All Implemented Interfaces:
BizLogger

public class BizLoggerImpl
extends BizLoggerAdapter
implements BizLogger

业务日志记录器实现 1. 业务日志会发送给JobTracker 2. 也会采取Fail And Store 的方式

Author:
Robert HG (254963746@qq.com) on 3/27/15.

Constructor Summary
BizLoggerImpl(com.github.ltsopensource.core.constant.Level level, com.github.ltsopensource.core.remoting.RemotingClientDelegate remotingClient, TaskTrackerAppContext appContext)
           
 
Method Summary
 void debug(String msg)
           
 void error(String msg)
           
 void info(String msg)
           
 
Methods inherited from class com.github.ltsopensource.tasktracker.logger.BizLoggerAdapter
removeJobMeta, setJobMeta
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BizLoggerImpl

public BizLoggerImpl(com.github.ltsopensource.core.constant.Level level,
                     com.github.ltsopensource.core.remoting.RemotingClientDelegate remotingClient,
                     TaskTrackerAppContext appContext)
Method Detail

debug

public void debug(String msg)
Specified by:
debug in interface BizLogger

info

public void info(String msg)
Specified by:
info in interface BizLogger

error

public void error(String msg)
Specified by:
error in interface BizLogger


Copyright © 2017. All rights reserved.