public class StdoutLogger extends FormattedLogger
Modifier and Type | Field and Description |
---|---|
protected PrintStream |
qlog |
strategy
Constructor and Description |
---|
StdoutLogger() |
Modifier and Type | Method and Description |
---|---|
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 qlog
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-2015 P6Spy. All Rights Reserved.