org.norther.tammi.sprig.jfree
Class JFreeLogTarget
java.lang.Object
org.norther.tammi.sprig.jfree.JFreeLogTarget
- All Implemented Interfaces:
- Serializable, org.jfree.util.LogTarget
public class JFreeLogTarget
- extends Object
- implements org.jfree.util.LogTarget, Serializable
A JFree log target.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
| Fields inherited from interface org.jfree.util.LogTarget |
WARN |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JFreeLogTarget
public JFreeLogTarget(MBeanServer server)
- Constructs a new log target with a server.
- Parameters:
server - the MBean server.
getLevelAsString
public String getLevelAsString()
- Gets the log level string.
- Returns:
- the log level as a string.
log
public void log(int level,
Object msg)
- Specified by:
log in interface org.jfree.util.LogTarget
log
public void log(int level,
Object msg,
Exception e)
- Specified by:
log in interface org.jfree.util.LogTarget
Copyright © 2004 The Norther Organization. All rights reserved.