| java.lang.Object org.cougaar.util.log.LogTarget
LogTarget | public class LogTarget implements Serializable(Code) | | Represents an output destination of a named logger.
Note that a single Logger instance can have multiple
LogTargets.
|
Field Summary | |
final public static int | CONSOLE Generic target type identifiers.
The value of these constants may be modified in the future
without notice. | final public static int | FILE | final public static int | STREAM |
CONSOLE | final public static int CONSOLE(Code) | | Generic target type identifiers.
The value of these constants may be modified in the future
without notice. For example, "CONSOLE" may be changed from
"1" to "0".
|
FILE | final public static int FILE(Code) | | |
STREAM | final public static int STREAM(Code) | | |
LogTarget | public LogTarget(String name, int outputType, String outputDevice, int loggingLevel)(Code) | | |
getLoggingLevel | public int getLoggingLevel()(Code) | | a Logger constant for the logger's level (DEBUG, etc) |
getName | public String getName()(Code) | | The name for this logger |
getOutputDevice | public String getOutputDevice()(Code) | | The device identifier (null for CONSOLE, filename for FILE,and stream-id for STREAM) |
getOutputType | public int getOutputType()(Code) | | a constant (CONSOLE, STREAM, or FILE) |
|
|