|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TwilightMinds.Log.EntryType
An EntryType object records a type of LogEntry that has an identifying
name and is written to a specific Log.
Author: Reason
Last Modified: 11/23/00
------------------------------------------------
Copyright (C) 2000 Twilight Minds. All rights reserved.
This Java package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this package; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
Alternatively, a copy can be obtained from the Twilight Minds web
site:
http://www.twilightminds.com/GNU-LGPL.html
Twilight Minds Design Group
http://www.twilightminds.com/
Constructor Summary | |
EntryType(java.lang.String inputname,
Log inputlog)
The standard constructor for the EventType class. |
|
EntryType(java.lang.String inputname,
Log inputlog,
boolean inputislogging)
This constructor allows the islogging variable to be specified, determining whether or not LogEntries of this EventType will be logged. |
Method Summary | |
Log |
getLog()
Return the Log object that entries of this type are sent to. |
java.lang.String |
getLogName()
Return the identifying name of the Log that entries of this type are sent to. |
java.lang.String |
getName()
Return the identifying name of this EntryType object. |
boolean |
isLogging()
Return the logging status of all LogEntries of this EventType. |
void |
setLog(Log inputlog)
Set the Log object that entries of this type are sent to. |
void |
startLogging()
LogEntries of this EntryType will now be logged. |
void |
stopLogging()
LogEntries of this EntryType will now not be logged. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EntryType(java.lang.String inputname, Log inputlog)
public EntryType(java.lang.String inputname, Log inputlog, boolean inputislogging)
Method Detail |
public java.lang.String getName()
public java.lang.String getLogName()
public Log getLog()
public void setLog(Log inputlog)
public void startLogging()
public void stopLogging()
public boolean isLogging()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |