com.hp.hpl.jena.util
Interface LogHandler
- All Known Implementing Classes:
- LogFileHandler, PlainLogHandler
- public interface LogHandler
Interface that encapsulates bare-bones log handling capability.
- Version:
- CVS info: $Id: LogHandler.java,v 1.2 2001/08/02 12:39:00 ijd Exp $
- Author:
- Ian Dickinson, HP Labs (email)
Method Summary |
void |
close()
Close the log handler and free any associated resources. |
void |
publish(int level,
java.lang.String msg,
java.lang.String cls,
java.lang.String method,
java.lang.Throwable ex)
Publish the given log information. |
publish
public void publish(int level,
java.lang.String msg,
java.lang.String cls,
java.lang.String method,
java.lang.Throwable ex)
- Publish the given log information.
- Parameters:
level
- The log level that this message is published atmsg
- The log message to be published.cls
- Optional name of the class that originated the log request.method
- Optional name of the method that originated the log request.ex
- Optional throwable that triggered the log request.
close
public void close()
- Close the log handler and free any associated resources.
Copyright © 2001 Hewlett-Packard. All Rights Reserved.