Avalon Framework and LogKit
We will start with an overview of the most common classes and interfaces of the Avalon Framework and the Avalon LogKit.
Package org.apache.log
This package contains all the classes of the Avalon LogKit. In order to be able to use the LogKit, we only need to look at the Logger class.
Class Logger
This is the object that the client interacts with to perform any logging.
Methods
public final boolean isDebugEnabled() Determine if messages of priority DEBUG will be logged. Returns true if DEBUG messages will be logged public final void debug(String message, Throwable throwable) Log a debug priority event. Parameters message - the message throwable - the throwable public final void debug(String message) Log a debug ...
Get Cocoon: Building XML Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.