Package edu.rit.util
Class PrintStreamLogger
java.lang.Object
edu.rit.util.PrintStreamLogger
- All Implemented Interfaces:
- Logger
Class PrintStreamLogger provides an object that logs messages to a print
 stream.
- Version:
- 16-Apr-2008
- Author:
- Alan Kaminsky
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a new print stream logger that logs toSystem.err.Construct a new print stream logger that logs to the given print stream.
- 
Method SummaryModifier and TypeMethodDescriptionvoidLog the given date and message.voidLog the given date, message, and exception.voidLog the given date and exception.voidLog the given message.voidLog the given message and exception.voidLog the given exception.
- 
Constructor Details- 
PrintStreamLoggerpublic PrintStreamLogger()Construct a new print stream logger that logs toSystem.err.
- 
PrintStreamLoggerConstruct a new print stream logger that logs to the given print stream.- Parameters:
- out- Print stream.
- Throws:
- NullPointerException- (unchecked exception) Thrown if- outis null.
 
 
- 
- 
Method Details- 
logLog the given message.
- 
logLog the given exception. Log the given exception.
- 
logLog the given message and exception. Log the given message and exception.
- 
logLog the given date and message.
- 
logLog the given date and exception. Log the given date and exception.
- 
logLog the given date, message, and exception. Log the given date, message, and exception.
 
-