public class StandardFormatter extends Object implements MessageFilter
| Modifier and Type | Field and Description |
|---|---|
static Color |
COLOR_ERROR |
static Color |
COLOR_FINE |
static Color |
COLOR_GOOD |
static Color |
COLOR_WARNING |
| Constructor and Description |
|---|
StandardFormatter(boolean brief,
boolean includeSubsystemName) |
| Modifier and Type | Method and Description |
|---|---|
FilteredMessage |
apply(FilteredMessage filteredMessage)
Applies this filter to the given message.
|
static Tracer |
brief(boolean includeSubsystemName) |
static Tracer |
defNoName() |
static Tracer |
defWithName() |
static Tracer |
longf(boolean includeSubsystemName) |
public static final Color COLOR_ERROR
public static final Color COLOR_WARNING
public static final Color COLOR_GOOD
public static final Color COLOR_FINE
public StandardFormatter(boolean brief,
boolean includeSubsystemName)
public FilteredMessage apply(FilteredMessage filteredMessage)
MessageFilterapply in interface MessageFilterfilteredMessage - The message to be filtered.null otherwise.@Create(category="Tracer", name="Brief Format", path="Built-In/Formatters/Brief", description="Accepts all messages, applies brief version of default formatting.") public static Tracer brief(@Par(def="false",desc="Include the source subsystem name into the displayed message.") boolean includeSubsystemName)
@Create(category="Tracer", name="Long Format", path="Built-In/Formatters/Long", description="Accepts all messages, applies long version of default formatting.") public static Tracer longf(@Par(def="false",desc="Include the source subsystem name into the displayed message.") boolean includeSubsystemName)
@Create(category="Tracer", name="Default Format", path="Built-In/Formatters/Default With Subsystem", description="Accepts all messages, applies default formatting, includes the source subsystem name.") public static Tracer defWithName()
Copyright © 2023 LSST. All rights reserved.