PageBoxLib
Class APIImpl.LogImpl

java.lang.Object
  extended byPageBoxLib.APIImpl.LogImpl
All Implemented Interfaces:
LogIF
Enclosing class:
APIImpl

class APIImpl.LogImpl
extends java.lang.Object
implements LogIF

Logging class provided to PageBoxAPI users.


Field Summary
(package private)  Log log
          Logging object
(package private)  java.lang.String source
          Logging source
 
Constructor Summary
(package private) APIImpl.LogImpl(Log log, java.lang.String source)
          Constructor.
 
Method Summary
 void error(java.lang.String msg)
          Log an error message
 void info(java.lang.String msg)
          Log an information message
 void warn(java.lang.String msg)
          Log a warning message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

Log log
Logging object


source

java.lang.String source
Logging source

Constructor Detail

APIImpl.LogImpl

APIImpl.LogImpl(Log log,
                java.lang.String source)
Constructor.

Parameters:
log - logging object
source - logging source
Method Detail

info

public void info(java.lang.String msg)
Log an information message

Specified by:
info in interface LogIF
Parameters:
msg - message

warn

public void warn(java.lang.String msg)
Log a warning message

Specified by:
warn in interface LogIF
Parameters:
msg - message

error

public void error(java.lang.String msg)
Log an error message

Specified by:
error in interface LogIF
Parameters:
msg - message