edu.rit.util
Interface Logger
-
- All Known Implementing Classes:
- PrintStreamLogger
public interface LoggerInterface Logger specifies the interface for an object that logs messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidlog(long date, java.lang.String msg)Log the given date and message.voidlog(long date, java.lang.String msg, java.lang.Throwable exc)Log the given date, message, and exception.voidlog(long date, java.lang.Throwable exc)Log the given date and exception.voidlog(java.lang.String msg)Log the given message.voidlog(java.lang.String msg, java.lang.Throwable exc)Log the given message and exception.voidlog(java.lang.Throwable exc)Log the given exception.
-
-
-
Method Detail
-
log
void log(java.lang.String msg)
Log the given message.- Parameters:
msg- Message.
-
log
void log(java.lang.Throwable exc)
Log the given exception.- Parameters:
exc- Exception.
-
log
void log(java.lang.String msg, java.lang.Throwable exc)Log the given message and exception.- Parameters:
msg- Message.exc- Exception.
-
log
void log(long date, java.lang.String msg)Log the given date and message.- Parameters:
date- Date and time in milliseconds since midnight 01-Jan-1970 UTC.msg- Message.
-
log
void log(long date, java.lang.Throwable exc)Log the given date and exception.- Parameters:
date- Date and time in milliseconds since midnight 01-Jan-1970 UTC.exc- Exception.
-
log
void log(long date, java.lang.String msg, java.lang.Throwable exc)Log the given date, message, and exception.- Parameters:
date- Date and time in milliseconds since midnight 01-Jan-1970 UTC.msg- Message.exc- Exception.
-
-
DMelt 3.0 © DataMelt by jWork.ORG