public final class ProcessLogWriter extends Object implements ServiceThread.Target
Runs in a thread to transfer the content of 'stderr' to the logging service.
The log object identification is created by appending ':' and an owner name to the class name. This helps identification and control of the Log.
Each line is scanned for a prefix identifying the log level.
The case sensitive identifiers "TRACE", "DEBUG", "INFO", "WARN", "ERROR" and "FATAL" are recognized when they start at the beginning of a line and are followed by a space. If a line begins with a space or a tab, it is considered a continuation of the last identified level. The default level is "WARN".
Modifier and Type | Method and Description |
---|---|
void |
run()
Runs.
|
public void run()
Similar to same in Runnable but may throw exceptions.
run
in interface ServiceThread.Target
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.