Package edu.rit.util
Interface Logger
- All Known Implementing Classes:
PrintStreamLogger
public interface Logger
Interface Logger specifies the interface for an object that logs messages.
- Version:
- 16-Apr-2008
- Author:
- Alan Kaminsky
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Log the given date and message.void
Log the given date, message, and exception.void
Log the given date and exception.void
Log the given message.void
Log the given message and exception.void
Log the given exception.
-
Method Details
-
log
Log the given message.- Parameters:
msg
- Message.
-
log
Log the given exception.- Parameters:
exc
- Exception.
-
log
Log the given message and exception.- Parameters:
msg
- Message.exc
- Exception.
-
log
Log the given date and message.- Parameters:
date
- Date and time in milliseconds since midnight 01-Jan-1970 UTC.msg
- Message.
-
log
Log the given date and exception.- Parameters:
date
- Date and time in milliseconds since midnight 01-Jan-1970 UTC.exc
- Exception.
-
log
Log the given date, message, and exception.- Parameters:
date
- Date and time in milliseconds since midnight 01-Jan-1970 UTC.msg
- Message.exc
- Exception.
-