|
JBoss STDIO 1.0.0.CR1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
org.jboss.stdio.AbstractLoggingWriter
org.jboss.stdio.LoggingWriter
public final class LoggingWriter

A writer which sends its data to a logger.
| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
LoggingWriter(java.util.logging.Logger log,
java.util.logging.Level level)
Construct a new instance. |
|
LoggingWriter(java.lang.String category,
java.util.logging.Level level)
Construct a new instance. |
|
LoggingWriter(java.lang.String category,
java.lang.String levelName)
Construct a new instance. |
|
| Method Summary | |
|---|---|
protected java.util.logging.Level |
getLevel()
Get the level at which to log. |
protected java.util.logging.Logger |
getLogger()
Get the logger to use. |
| Methods inherited from class org.jboss.stdio.AbstractLoggingWriter |
|---|
close, flush, write, write |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingWriter(java.lang.String category,
java.lang.String levelName)
category - the log category to uselevelName - the name of the level at which to log messages
public LoggingWriter(java.lang.String category,
java.util.logging.Level level)
category - the log category to uselevel - the level at which to log messages
public LoggingWriter(java.util.logging.Logger log,
java.util.logging.Level level)
log - the logger to uselevel - the level at which to log messages| Method Detail |
|---|
protected java.util.logging.Logger getLogger()
getLogger in class AbstractLoggingWriterprotected java.util.logging.Level getLevel()
getLevel in class AbstractLoggingWriter
|
JBoss STDIO 1.0.0.CR1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||