org.jpos.util
Class SimpleLogSource

java.lang.Object
  extended by org.jpos.util.SimpleLogSource
All Implemented Interfaces:
LogSource
Direct Known Subclasses:
BSHTransactionParticipant, DirPoll, SunJSSESocketFactory, VISA1Packager

public class SimpleLogSource
extends Object
implements LogSource

LogSources can choose to extends this SimpleLogSource

Version:
$Id$
Author:
apr@cs.com.uy
See Also:
LogSource

Field Summary
protected  Logger logger
           
protected  String realm
           
 
Constructor Summary
SimpleLogSource()
           
SimpleLogSource(Logger logger, String realm)
           
 
Method Summary
 void error(String detail)
           
 void error(String detail, Object obj)
           
 Logger getLogger()
           
 String getRealm()
           
 void info(String detail)
           
 void info(String detail, Object obj)
           
 void setLogger(Logger logger, String realm)
           
 void setRealm(String realm)
           
 void warning(String detail)
           
 void warning(String detail, Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger

realm

protected String realm
Constructor Detail

SimpleLogSource

public SimpleLogSource()

SimpleLogSource

public SimpleLogSource(Logger logger,
                       String realm)
Method Detail

setLogger

public void setLogger(Logger logger,
                      String realm)
Specified by:
setLogger in interface LogSource

getRealm

public String getRealm()
Specified by:
getRealm in interface LogSource

getLogger

public Logger getLogger()
Specified by:
getLogger in interface LogSource

setRealm

public void setRealm(String realm)

info

public void info(String detail)

info

public void info(String detail,
                 Object obj)

warning

public void warning(String detail)

warning

public void warning(String detail,
                    Object obj)

error

public void error(String detail)

error

public void error(String detail,
                  Object obj)


Copyright © 1998-2012 jPOS.org. All Rights Reserved.