public class StdoutLogger extends FormattedLogger
strategy
Constructor and Description |
---|
StdoutLogger() |
Modifier and Type | Method and Description |
---|---|
protected PrintStream |
getStream() |
boolean |
isCategoryEnabled(Category category) |
void |
logException(Exception e)
Logs the stacktrace of the exception.
|
void |
logText(String text)
Logs the text.
|
logSQL, setStrategy
protected PrintStream getStream()
public void logException(Exception e)
P6Logger
e
- exception holding the stacktrace to be logged.public void logText(String text)
P6Logger
text
- to be loggedpublic boolean isCategoryEnabled(Category category)
category
- the category to be evaluated.true
if category is enabled. Otherwise returns
false
Copyright © 2002-2016 P6Spy. All Rights Reserved.