Nuxeo Enterprise Platform 5.3

com.anwrt.ooserver.daemon
Class LoggerBasicImpl

java.lang.Object
  extended by com.anwrt.ooserver.daemon.Logger
      extended by com.anwrt.ooserver.daemon.LoggerBasicImpl

public class LoggerBasicImpl
extends Logger

Basic Logger implementation that throw everything to standard outputs.
Use it as an example if you want to make something more inventive.

Author:
Jounayd Id Salah

Field Summary
protected static String TAG_DEBUG
           
protected static String TAG_ERROR
           
protected static String TAG_FATAL
           
protected static String TAG_INFO
           
protected static String TAG_WARNING
           
 
Fields inherited from class com.anwrt.ooserver.daemon.Logger
DEBUG, DETAILED_DEBUG, ERROR, INFO, level, levelStrings, NB_LEVELS, NONE, WARNING
 
Constructor Summary
LoggerBasicImpl()
           
 
Method Summary
protected  void debugImpl(Exception ex)
           
protected  void debugImpl(String msg)
           
protected  void debugImpl(String msg, Exception ex)
           
protected  void detailedDebugImpl(Exception ex)
           
protected  void errorImpl(String msg)
           
protected static void exception(Exception ex)
           
protected  void fatalErrorImpl(String msg)
           
protected  void fatalErrorImpl(String msg, Exception ex)
           
protected static String getMessageString(String tag, String msg)
           
protected  void infoImpl(String msg)
           
protected  void warningImpl(String msg)
           
 
Methods inherited from class com.anwrt.ooserver.daemon.Logger
debug, debug, debug, detailedDebug, error, fatalError, fatalError, getInstance, getLevel, info, levelInformation, levelToString, newInstance, setLevel, setLevel, toString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_INFO

protected static final String TAG_INFO
See Also:
Constant Field Values

TAG_WARNING

protected static final String TAG_WARNING
See Also:
Constant Field Values

TAG_ERROR

protected static final String TAG_ERROR
See Also:
Constant Field Values

TAG_FATAL

protected static final String TAG_FATAL
See Also:
Constant Field Values

TAG_DEBUG

protected static final String TAG_DEBUG
See Also:
Constant Field Values
Constructor Detail

LoggerBasicImpl

public LoggerBasicImpl()
Method Detail

getMessageString

protected static String getMessageString(String tag,
                                         String msg)

infoImpl

protected void infoImpl(String msg)
Specified by:
infoImpl in class Logger

warningImpl

protected void warningImpl(String msg)
Specified by:
warningImpl in class Logger

debugImpl

protected void debugImpl(String msg)
Specified by:
debugImpl in class Logger

debugImpl

protected void debugImpl(String msg,
                         Exception ex)
Specified by:
debugImpl in class Logger

debugImpl

protected void debugImpl(Exception ex)
Specified by:
debugImpl in class Logger

detailedDebugImpl

protected void detailedDebugImpl(Exception ex)
Specified by:
detailedDebugImpl in class Logger

errorImpl

protected void errorImpl(String msg)
Specified by:
errorImpl in class Logger

fatalErrorImpl

protected void fatalErrorImpl(String msg)
Specified by:
fatalErrorImpl in class Logger

fatalErrorImpl

protected void fatalErrorImpl(String msg,
                              Exception ex)
Specified by:
fatalErrorImpl in class Logger

exception

protected static void exception(Exception ex)

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.