|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrendsite.tools.RendsiteLogger
rendsite.tools.RendsiteLogger_Normal
public class RendsiteLogger_Normal
Implement a logger. Version History
10NOV09 - EPG - First package release.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface things.thinger.io.Logger |
|---|
things.thinger.io.Logger.LEVEL, things.thinger.io.Logger.TYPE |
| Field Summary |
|---|
| Fields inherited from class rendsite.tools.RendsiteLogger |
|---|
conduitId, currentLevel, prefixId |
| Constructor Summary | |
|---|---|
RendsiteLogger_Normal(things.common.WhoAmI ownerId,
things.thinger.io.Logger.LEVEL level,
java.io.PrintWriter pw,
Resources resources)
Construct a logger. |
|
| Method Summary | |
|---|---|
RendsiteLogger |
childLogger(things.common.WhoAmI ownerId)
Create a child logger. |
void |
debuggingOff()
Turn debugging off. |
void |
debuggingOn()
Turn debugging on. |
void |
exception(java.lang.Throwable tr)
Log an exception. |
void |
flush()
Flush. |
void |
post(long timestamp,
things.thinger.io.Logger.LEVEL level,
things.data.Data.Priority priority,
int numeric,
java.lang.String text,
java.util.Collection<things.data.NVImmutable> attributes)
Post it. |
void |
setLevel(things.thinger.io.Logger.LEVEL newLevel)
This will set the level of entries that will pass. |
void |
setPostLevel(things.thinger.io.Logger.LEVEL newLevel)
This will set the default level of StringPoster posted entries. |
| Methods inherited from class rendsite.tools.RendsiteLogger |
|---|
debug, debug, debug, debug, debug, debuggingState, error, error, error, error, error, getLevel, info, info, info, info, info, init, init, post, post, postit, postListener, shout, shout, shout, shout, shout, warning, warning, warning, warning, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RendsiteLogger_Normal(things.common.WhoAmI ownerId,
things.thinger.io.Logger.LEVEL level,
java.io.PrintWriter pw,
Resources resources)
throws things.thinger.SystemException
ownerId - the owner id. The tag will be available as a prefix to the specific log posters.level - the starting log level.pw - the output destination. it'll be best if it isn't auto-flush.
things.thinger.SystemException| Method Detail |
|---|
public void post(long timestamp,
things.thinger.io.Logger.LEVEL level,
things.data.Data.Priority priority,
int numeric,
java.lang.String text,
java.util.Collection<things.data.NVImmutable> attributes)
post in class RendsiteLoggertimestamp - level - priority - numeric - text - attributes - it may be null.
public RendsiteLogger childLogger(things.common.WhoAmI ownerId)
throws things.thinger.SystemException
childLogger in class RendsiteLoggerownerId -
things.thinger.SystemExceptionpublic void flush()
public void setLevel(things.thinger.io.Logger.LEVEL newLevel)
setLevel in interface things.thinger.io.LoggersetLevel in class RendsiteLoggernewLevel - the new level.public void setPostLevel(things.thinger.io.Logger.LEVEL newLevel)
setPostLevel in interface things.thinger.io.LoggersetPostLevel in class RendsiteLoggernewLevel - the new default level.public void debuggingOn()
debuggingOn in interface things.common.DebuggabledebuggingOn in class RendsiteLoggerpublic void debuggingOff()
debuggingOff in interface things.common.DebuggabledebuggingOff in class RendsiteLogger
public void exception(java.lang.Throwable tr)
throws things.thinger.SystemException
exception in interface things.thinger.io.Loggerexception in class RendsiteLoggertr - The Exception.
things.thinger.SystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||