com.agilejava.blammo
Interface LoggingKit
- All Known Implementing Classes:
- StdErrLoggingKit
public interface LoggingKit
The interface for abstractions representing a low-level logging toolkit. The
most important responsibility of implementations of this interface is to
create LogKitAdapter
s, allowing Blammo to work against a
canonicalized logging interface behind the scenes.
Implement this interface if you want your code to use a non-supported
low-level logging toolkit, i.e. application server specific logging
mechanisms.
- Author:
- Wilfred Springer
createLogKitAdapter
LoggingKitAdapter createLogKitAdapter(java.lang.Class cl)
- Creates a
LogKitAdapter
for the class passed in.
- Parameters:
cl
- The class is just passed in as a courtesy to low level
frameworks, who will normally have a smart way of connecting
log messages to a class and then allow filters to be specified
on the log messages generated. (Not null
.)
- Returns:
- A
LoggingKitAdapter
, used internally by Blammo to
log messages.
Copyright © 2008. All Rights Reserved.