TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.hyades.logging.parsers.internal.importer
Class LocalLogParserLoader

java.lang.Object
  extended byorg.eclipse.hyades.logging.parsers.internal.importer.LocalLogImportLoader
      extended byorg.eclipse.hyades.logging.parsers.internal.importer.LocalLogParserLoader
All Implemented Interfaces:
org.apache.commons.logging.Log

public class LocalLogParserLoader
extends LocalLogImportLoader


Field Summary
 
Fields inherited from class org.eclipse.hyades.logging.parsers.internal.importer.LocalLogImportLoader
DEBUG_LEVEL, ERROR_LEVEL, FATAL_LEVEL, INFO_LEVEL, loggingLevel, logParser, parser, parserParameters, TRACE_LEVEL, traceXML, WARN_LEVEL, xmlLoader
 
Constructor Summary
LocalLogParserLoader(org.eclipse.hyades.logging.parsers.importer.ILogParser parser, java.util.Hashtable parserParameters, boolean traceXML)
           
 
Method Summary
 void debug(java.lang.Object record)
           
 void debug(java.lang.Object record, java.lang.Throwable throwable)
           
 void error(java.lang.Object record)
           
 void error(java.lang.Object record, java.lang.Throwable throwable)
           
 void fatal(java.lang.Object record)
           
 void fatal(java.lang.Object record, java.lang.Throwable throwable)
           
 org.apache.commons.logging.Log getParserLogger()
           
 void info(java.lang.Object record)
           
 void info(java.lang.Object record, java.lang.Throwable throwable)
           
 void trace(java.lang.Object record)
          Logs the parameter java.lang.Object log record to the Logging Agent with the same name as the logger if TRACE logging is currently enabled.
 void trace(java.lang.Object record, java.lang.Throwable throwable)
           
 void warn(java.lang.Object record)
           
 void warn(java.lang.Object record, java.lang.Throwable throwable)
           
 
Methods inherited from class org.eclipse.hyades.logging.parsers.internal.importer.LocalLogImportLoader
getXMLLoader, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, setParserLogger, setXMLLoader, startParsing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalLogParserLoader

public LocalLogParserLoader(org.eclipse.hyades.logging.parsers.importer.ILogParser parser,
                            java.util.Hashtable parserParameters,
                            boolean traceXML)
Method Detail

getParserLogger

public org.apache.commons.logging.Log getParserLogger()
Overrides:
getParserLogger in class LocalLogImportLoader

trace

public void trace(java.lang.Object record)
Logs the parameter java.lang.Object log record to the Logging Agent with the same name as the logger if TRACE logging is currently enabled. The log record is first converted to XML and then sent to the Logging Agent.

Specified by:
trace in interface org.apache.commons.logging.Log
Overrides:
trace in class LocalLogImportLoader
Parameters:
record - The log record to be logged to the Logging Agent.

trace

public void trace(java.lang.Object record,
                  java.lang.Throwable throwable)
Specified by:
trace in interface org.apache.commons.logging.Log
Overrides:
trace in class LocalLogImportLoader

debug

public void debug(java.lang.Object record)
Specified by:
debug in interface org.apache.commons.logging.Log
Overrides:
debug in class LocalLogImportLoader

debug

public void debug(java.lang.Object record,
                  java.lang.Throwable throwable)
Specified by:
debug in interface org.apache.commons.logging.Log
Overrides:
debug in class LocalLogImportLoader

info

public void info(java.lang.Object record)
Specified by:
info in interface org.apache.commons.logging.Log
Overrides:
info in class LocalLogImportLoader

info

public void info(java.lang.Object record,
                 java.lang.Throwable throwable)
Specified by:
info in interface org.apache.commons.logging.Log
Overrides:
info in class LocalLogImportLoader

warn

public void warn(java.lang.Object record)
Specified by:
warn in interface org.apache.commons.logging.Log
Overrides:
warn in class LocalLogImportLoader

warn

public void warn(java.lang.Object record,
                 java.lang.Throwable throwable)
Specified by:
warn in interface org.apache.commons.logging.Log
Overrides:
warn in class LocalLogImportLoader

error

public void error(java.lang.Object record)
Specified by:
error in interface org.apache.commons.logging.Log
Overrides:
error in class LocalLogImportLoader

error

public void error(java.lang.Object record,
                  java.lang.Throwable throwable)
Specified by:
error in interface org.apache.commons.logging.Log
Overrides:
error in class LocalLogImportLoader

fatal

public void fatal(java.lang.Object record)
Specified by:
fatal in interface org.apache.commons.logging.Log
Overrides:
fatal in class LocalLogImportLoader

fatal

public void fatal(java.lang.Object record,
                  java.lang.Throwable throwable)
Specified by:
fatal in interface org.apache.commons.logging.Log
Overrides:
fatal in class LocalLogImportLoader

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification