|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pebble.logging.AbstractLogger
net.sourceforge.pebble.logging.NullLogger
public class NullLogger
A no-op logger that can be used when Pebble logging isn't required, such as when something like Apache provides the necessary logging already.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.pebble.logging.AbstractLogger |
|---|
blog |
| Constructor Summary | |
|---|---|
NullLogger(Blog blog)
Creates a new instance associated with the specified blog. |
|
| Method Summary | |
|---|---|
Log |
getLog(int year,
int month,
int day)
Gets the log for a given year, month and day. |
java.lang.String |
getLogFile(int year,
int month,
int day)
Gets a copy of the log file for a given year, month and day. |
LogSummary |
getLogSummary(int year,
int month,
int day)
Gets the log summary information for the given year, month and day. |
void |
log(HttpServletRequest request,
int status)
Logs a HTTP request. |
void |
start()
Called to start this logger. |
void |
stop()
Called to stop this logger. |
| Methods inherited from class net.sourceforge.pebble.logging.AbstractLogger |
|---|
getLog, getLog, getLogFile, getLogFile, getLogSummary, getLogSummary, getLogSummary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullLogger(Blog blog)
blog - a Blog instance| Method Detail |
|---|
public void log(HttpServletRequest request,
int status)
log in class AbstractLoggerrequest - a HttpServletRequestpublic void start()
start in class AbstractLoggerpublic void stop()
stop in class AbstractLogger
public java.lang.String getLogFile(int year,
int month,
int day)
getLogFile in class AbstractLoggeryear - the year to get entries formonth - the month to get entries forday - the day to get entries for
public Log getLog(int year,
int month,
int day)
getLog in class AbstractLoggeryear - the year to get entries formonth - the month to get entries forday - the day to get entries for
public LogSummary getLogSummary(int year,
int month,
int day)
getLogSummary in class AbstractLoggeryear - the year to get entries formonth - the month to get entries forday - the day to get entries for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||