public class FileLogger extends java.lang.Object implements Logger
If a field is null, a dash (-) will be written in that position. See
DatabaseLogger class for definition of the fields.
DatabaseLogger
Constructor and Description |
---|
FileLogger(java.io.PrintStream ps)
Deprecated.
Constructs a file-base Logger.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getStorageSource()
Deprecated.
Returns my storage source -- a PrintStream
|
void |
write(LogRecord[] data)
Deprecated.
Writes the data to the presistent medium.
|
public FileLogger(java.io.PrintStream ps)
ps
- - a PrintStream. If this stream is the System.out and
the calling webapp defines Standard Output file (see
WebSphere Application Server Administrative Console), the output will go to the
webapp's Standard Output file.public void write(LogRecord[] data) throws java.lang.Exception
public java.lang.Object getStorageSource()
getStorageSource
in interface Logger