|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--mozile.Module | +--mozile.debug
Field Summary | |
<static> String |
alertLevel
Indicates the level of debugging information to be delivered to the user. |
<static> String |
logLevel
Indicates the level of debugging information to be stored in the messages array. |
<static> Array |
messages
An array of debugging messages. |
<static> Window |
window
A window where logged messages are sent. |
Method Summary | |
<static> Void
|
debug(<String> caller, <String> message)
A low priority debugging notification. |
<static> Void
|
inform(<String> caller, <String> message)
A medium priority debugging notification. |
<static> Boolean
|
isSelected(<String> type, <String> level)
Compares two debugging levels. |
<static> Void
|
log(<String> caller, <String> level, <String> message)
Store a debugging message in the messages array. |
<static> Void
|
show()
Write all logged debugging messages to a new window. |
<static> Void
|
warn(<String> caller, <String> message)
A high priority debugging notification. |
Field Detail |
<static> String alertLevel
<static> String logLevel
<static> Array messages
<static> Window window
Method Detail |
<static> Void debug(<String> caller, <String> message)
caller
- The name of the function sending the notification.
message
- The warning.
<static> Void inform(<String> caller, <String> message)
caller
- The name of the function sending the notification.
message
- The warning.
<static> Boolean isSelected(<String> type, <String> level)
type
- The level to check against. Can be "alert" or "log".
level
- The level to check. Can be "suppress", "warn", "inform", or "debug".
<static> Void log(<String> caller, <String> level, <String> message)
caller
- The name of the function sending the warning.
level
- The level of the message.
message
- The warning.
<static> Void show()
<static> Void warn(<String> caller, <String> message)
caller
- The name of the function sending the notification.
message
- The warning.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |