A E F G I L R S T W

A

addLog(Log) - Static method in class TwilightMinds.Log.LogManager
Add a new Log to those managed by the LogManager.
addLogAndEntryTypes(Log, String[]) - Static method in class TwilightMinds.Log.LogManager
Add a new Log to those managed by the LogManager.
addLogEntry(LogEntry) - Method in class TwilightMinds.Log.Log
Add a LogEntry object to the queue waiting to be written.

E

EntryType - class TwilightMinds.Log.EntryType.
An EntryType object records a type of LogEntry that has an identifying name and is written to a specific Log.
EntryType(String, Log) - Constructor for class TwilightMinds.Log.EntryType
The standard constructor for the EventType class.
EntryType(String, Log, boolean) - Constructor for class TwilightMinds.Log.EntryType
This constructor allows the islogging variable to be specified, determining whether or not LogEntries of this EventType will be logged.

F

FlatFileLog - class TwilightMinds.Log.FlatFileLog.
The FlatFileLog writes to a string-delimited flat file, as might be expected.
FlatFileLog(String, String, String, long) - Constructor for class TwilightMinds.Log.FlatFileLog
The standard constructor for a FlatFileLog object.
FlatFileLog(String, String, String, long, long) - Constructor for class TwilightMinds.Log.FlatFileLog
Constructor allowing for specification of the cycle delay between periods of recording LogEntry objects.

G

getCycleDelay() - Method in class TwilightMinds.Log.Log
Return the delay in milliseconds between each cycle during which the Log writes out pending LogEntry objects to the log file.
getDate() - Method in class TwilightMinds.Log.LogEntry
Get the Date object that timestamps this LogEntry.
getDelimiter() - Method in class TwilightMinds.Log.FlatFileLog
Return the delimiter string for this log.
getEntryMessage() - Method in class TwilightMinds.Log.LogEntry
Return the entry message.
getEntryType() - Method in class TwilightMinds.Log.LogEntry
Return the entry type.
getEntryTypeNames() - Static method in class TwilightMinds.Log.LogManager
Return an array of all EntryType names currently used in the LogManager.
getExceptionMessage() - Method in class TwilightMinds.Log.LogEntry
Return the exception message, or null if there is no exception message associated with this LogEntry.
getLog() - Method in class TwilightMinds.Log.EntryType
Return the Log object that entries of this type are sent to.
getLog(String) - Static method in class TwilightMinds.Log.LogManager
Return the Log with this name, or null if no such Log exists.
getLogFilePath() - Method in class TwilightMinds.Log.FlatFileLog
Return the path for the log file written by this Log.
getLogName() - Method in class TwilightMinds.Log.Log
Return the identifying name of this log.
getLogName() - Method in class TwilightMinds.Log.EntryType
Return the identifying name of the Log that entries of this type are sent to.
getLogNames() - Static method in class TwilightMinds.Log.LogManager
Return an array of the Log names currently in use in the LogManager.
getLogs() - Static method in class TwilightMinds.Log.LogManager
Return an array of the Logs currently in use in the LogManager.
getMaxFileSizeInKiloBytes() - Method in class TwilightMinds.Log.FlatFileLog
Return the maximum file size for this log.
getName() - Method in class TwilightMinds.Log.EntryType
Return the identifying name of this EntryType object.

I

isLogging() - Method in class TwilightMinds.Log.Log
Return the state of the log.
isLogging() - Method in class TwilightMinds.Log.EntryType
Return the logging status of all LogEntries of this EventType.

L

Log - class TwilightMinds.Log.Log.
An instance of the Log abstract class provides the functionality to represent a single log.
Log(String) - Constructor for class TwilightMinds.Log.Log
The standard constructor for a Log object.
Log(String, long) - Constructor for class TwilightMinds.Log.Log
Constructor allowing for specification of the cycle delay between periods of recording LogEntry objects.
LogEntry - class TwilightMinds.Log.LogEntry.
An object of the LogEntry class holds the information needed for a single entry into a Log.
LogEntry(EntryType, String) - Constructor for class TwilightMinds.Log.LogEntry
The standard constructor, setting the type of entry and string entry message.
LogEntry(EntryType, String, Exception) - Constructor for class TwilightMinds.Log.LogEntry
Construct a log entry with additional error information provided by an exception.
LogException - exception TwilightMinds.Log.LogException.
The standard exception used in the TwilightMinds.Log package.
LogException(String) - Constructor for class TwilightMinds.Log.LogException
 
LogManager - class TwilightMinds.Log.LogManager.
The LogManager class keeps track of any aribitrary Log objects and allows easily formatted and synchronized recording of LogEntry objects of various EntryTypes to any of the Logs.

R

recordLogEntry(LogEntry) - Method in class TwilightMinds.Log.Log
This abstract method must be overwritten in child classes to provide an implementation for writing the LogEntry information to a store, be that file, database, etc, etc.
recordLogEntry(LogEntry) - Method in class TwilightMinds.Log.FlatFileLog
Output a LogEntry object to the flat file.
removeEntryType(String) - Static method in class TwilightMinds.Log.LogManager
Remove the EntryType with this name.
removeLog(Log) - Static method in class TwilightMinds.Log.LogManager
Remove this Log from those managed by the LogManager.
run() - Method in class TwilightMinds.Log.Log
The run() method for this class runs through the LogEntry objects waiting to be recorded and deletes these objects as this happens.

S

sentToLog(String) - Static method in class TwilightMinds.Log.LogManager
Return the name of the Log that LogEntries of this EntryType are sent to.
setCycleDelay(long) - Method in class TwilightMinds.Log.Log
Set the delay in milliseconds between each cycle during which the Log writes out pending LogEntry objects to the log file.
setEntryType(String, String) - Static method in class TwilightMinds.Log.LogManager
Add an EntryType that writes to the Log with the given logname.
setEntryType(String, String, boolean) - Static method in class TwilightMinds.Log.LogManager
Add an EntryType that writes to the Log with the given logname.
setLog(Log) - Method in class TwilightMinds.Log.EntryType
Set the Log object that entries of this type are sent to.
startAllEntryTypesLogging() - Static method in class TwilightMinds.Log.LogManager
Set LogEntries of all EntryTypes to be logged.
startAllLogs() - Static method in class TwilightMinds.Log.LogManager
Start all Logs accepting and recording log entries.
startEntryTypeLogging(String) - Static method in class TwilightMinds.Log.LogManager
Stop LogEntries with this EntryType from being logged.
startLog(String) - Static method in class TwilightMinds.Log.LogManager
Start this Log accepting LogEntries.
startLogging() - Method in class TwilightMinds.Log.Log
Set this Log object to accept new LogEntry objects and begin running as a thread while writing to the log file.
startLogging() - Method in class TwilightMinds.Log.EntryType
LogEntries of this EntryType will now be logged.
stopAllEntryTypesLogging() - Static method in class TwilightMinds.Log.LogManager
Stop LogEntries of all EntryTypes from being logged.
stopAllLogs() - Static method in class TwilightMinds.Log.LogManager
Stop all Logs from accepting log entries.
stopEntryTypeLogging(String) - Static method in class TwilightMinds.Log.LogManager
Stop logging LogEntries of this EntryType.
stopLog(String) - Static method in class TwilightMinds.Log.LogManager
Stop this Log from accepting LogEntries.
stopLogging() - Method in class TwilightMinds.Log.Log
Set this Log object to reject new LogEntry objects.
stopLogging() - Method in class TwilightMinds.Log.EntryType
LogEntries of this EntryType will now not be logged.

T

TwilightMinds.Log - package TwilightMinds.Log
 

W

writeEntry(String, String) - Static method in class TwilightMinds.Log.LogManager
Write an event string as a given EntryType.
writeEntry(String, String, Exception) - Static method in class TwilightMinds.Log.LogManager
Write an event string and exception as a given EntryType.

A E F G I L R S T W