Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
L
M
N
O
R
S
T
V
W
A
activateOptions()
- Method in class org.mondemand.log4j.
MonDemandAppender
addContext(String, String)
- Method in class org.mondemand.
Client
Adds contextual data to the client.
addTransport(Transport)
- Method in class org.mondemand.
Client
Adds a new transport to this client.
alert(String, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level ALERT.
alert(TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level ALERT, determining the calling class and line number on the fly.
alert(String)
- Method in class org.mondemand.
Client
A convenience method to log a message at priority level ALERT
ALERT
- Static variable in class org.mondemand.
Level
Default alert priority value for the Logger
ALL
- Static variable in class org.mondemand.
Level
Default value to send all messages for the Logger
append(LoggingEvent)
- Method in class org.mondemand.log4j.
MonDemandAppender
C
ClassUtils
- Class in
org.mondemand.util
Various class utilities that are used when the user doesn't specify parameters in the API.
ClassUtils()
- Constructor for class org.mondemand.util.
ClassUtils
Client
- Class in
org.mondemand
This is the main entry point to MonDemand.
Client(String)
- Constructor for class org.mondemand.
Client
The constructor creates a Client object that is ready to use.
close()
- Method in class org.mondemand.log4j.
MonDemandAppender
compareTo(TraceId)
- Method in class org.mondemand.
TraceId
Compares this TraceId with another.
Context
- Class in
org.mondemand
Context()
- Constructor for class org.mondemand.
Context
Context(String, String)
- Constructor for class org.mondemand.
Context
crit(String, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message at priority level CRIT
crit(TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level CRIT, determining the calling class and line number on the fly.
crit(String)
- Method in class org.mondemand.
Client
A convenience method to log a message at priority level CRIT
CRIT
- Static variable in class org.mondemand.
Level
Default critical priority value for the Logger
D
debug(String, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message at priority level DEBUG
debug(TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level DEBUG, determining the calling class and line number on the fly.
debug(String)
- Method in class org.mondemand.
Client
A convenience method to log a message at priority level DEBUG
DEBUG
- Static variable in class org.mondemand.
Level
Default debug priority value for the Logger
decrement()
- Method in class org.mondemand.
Client
Decrements the default counter by one.
decrement(int)
- Method in class org.mondemand.
Client
Decrements the default counter by value
decrement(String)
- Method in class org.mondemand.
Client
Decrements the specified counter by one.
decrement(String, int)
- Method in class org.mondemand.
Client
Decrements the specified counter by the value specified.
decrement(StatType, String, int)
- Method in class org.mondemand.
Client
DefaultErrorHandler
- Class in
org.mondemand
This implements the ErrorHandler interface and provides the default handler for MonDemand errors, which writes errors to standard error.
DefaultErrorHandler()
- Constructor for class org.mondemand.
DefaultErrorHandler
E
emerg(String, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message at priority level EMERG
emerg(TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level EMERG, determining the calling class and line number on the fly.
emerg(String)
- Method in class org.mondemand.
Client
A convenience method to log a message a log level EMERG.
EMERG
- Static variable in class org.mondemand.
Level
Default emergency priority value for the Logger
equals(Object)
- Method in class org.mondemand.
TraceId
error(String, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message at priority level ERROR
error(TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level ERROR, determining the calling class and line number on the fly.
error(String)
- Method in class org.mondemand.
Client
A convenience method to log a message at priority level ERROR
ERROR
- Static variable in class org.mondemand.
Level
Default error priority value for the Logger
ErrorHandler
- Interface in
org.mondemand
This interface provides a way to create error handler callbacks.
F
finalize()
- Method in class org.mondemand.
Client
Called when the client is destroyed.
flush()
- Method in class org.mondemand.
Client
flushLogs()
- Method in class org.mondemand.
Client
Flushes log data to the transports.
flushStats()
- Method in class org.mondemand.
Client
Flushes statistics to the transports.
flushStats(boolean)
- Method in class org.mondemand.
Client
Flushes statistics to the transports, but allows one to specify whether or not to reset the running statistics.
G
getAddress()
- Method in class org.mondemand.log4j.
MonDemandAppender
Gets the LWES address
getCallingClass(int)
- Static method in class org.mondemand.util.
ClassUtils
Returns the calling class from the depth specified.
getCallingLine(int)
- Static method in class org.mondemand.util.
ClassUtils
Returns the calling line number from the depth specified.
getContext(String)
- Method in class org.mondemand.
Client
Fetches contextual data from the client.
getContextKeys()
- Method in class org.mondemand.
Client
Retrieves an enumeration of all the contextual data keys
getCounter()
- Method in class org.mondemand.
StatsMessage
getErrorHandler()
- Method in class org.mondemand.
Client
getFilename()
- Method in class org.mondemand.
LogMessage
getId()
- Method in class org.mondemand.
TraceId
Accessor which returns the identifier for this trace id
getImmediateSendLevel()
- Method in class org.mondemand.
Client
getImmediateSendLevel()
- Method in class org.mondemand.log4j.
MonDemandAppender
Gets the immediate send level for this appender.
getInterface()
- Method in class org.mondemand.log4j.
MonDemandAppender
Gets the LWES network interface
getKey()
- Method in class org.mondemand.
Context
getKey()
- Method in class org.mondemand.
StatsMessage
getLevel()
- Method in class org.mondemand.
LogMessage
getLine()
- Method in class org.mondemand.
LogMessage
getMainClass()
- Static method in class org.mondemand.util.
ClassUtils
Returns the top-level class name.
getMessage()
- Method in class org.mondemand.
LogMessage
getNoSendLevel()
- Method in class org.mondemand.
Client
getPort()
- Method in class org.mondemand.log4j.
MonDemandAppender
Gets the LWES port
getProgId()
- Method in class org.mondemand.log4j.
MonDemandAppender
Gets the program identifier for this appender.
getProgramId()
- Method in class org.mondemand.
Client
getRepeat()
- Method in class org.mondemand.
LogMessage
getTraceId()
- Method in class org.mondemand.
LogMessage
getTtl()
- Method in class org.mondemand.log4j.
MonDemandAppender
Gets the LWES network TTL (for multicast)
getType()
- Method in class org.mondemand.
StatsMessage
getValue()
- Method in class org.mondemand.
Context
H
handleError(String)
- Method in class org.mondemand.
DefaultErrorHandler
Writes MonDemand errors to standard error.
handleError(String, Exception)
- Method in class org.mondemand.
DefaultErrorHandler
Writes MonDemand errors that have an associated exception to standard error.
handleError(String)
- Method in interface org.mondemand.
ErrorHandler
handleError(String, Exception)
- Method in interface org.mondemand.
ErrorHandler
hashCode()
- Method in class org.mondemand.
TraceId
I
increment()
- Method in class org.mondemand.
Client
Increments the default counter by one.
increment(int)
- Method in class org.mondemand.
Client
Increments the default counter by value
increment(String)
- Method in class org.mondemand.
Client
Increments the specified counter by one.
increment(String, int)
- Method in class org.mondemand.
Client
Increments the specified counter by the value specified.
increment(StatType, String, int)
- Method in class org.mondemand.
Client
info(String, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message at priority level INFO
info(TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level INFO, determining the calling class and line number on the fly.
info(String)
- Method in class org.mondemand.
Client
A convenience method to log a message at priority level INFO
INFO
- Static variable in class org.mondemand.
Level
Default info priority value for the Logger
L
Level
- Class in
org.mondemand
This represents the various logging levels in MonDemand
Level()
- Constructor for class org.mondemand.
Level
levelIsEnabled(int, TraceId)
- Method in class org.mondemand.
Client
A check for the log level that is set.
log(int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Generic logger function.
log(String, int, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
The most generic logger function.
LogMessage
- Class in
org.mondemand
LogMessage()
- Constructor for class org.mondemand.
LogMessage
LWESTransport
- Class in
org.mondemand.transport
LWESTransport(InetAddress, int, InetAddress)
- Constructor for class org.mondemand.transport.
LWESTransport
Creates an initializes a LWES transport.
LWESTransport(InetAddress, int, InetAddress, int)
- Constructor for class org.mondemand.transport.
LWESTransport
Creates and initializes a LWES transport.
M
MonDemandAppender
- Class in
org.mondemand.log4j
This is a log4j appender that uses the MonDemand API and is configured with the LWES transport.
MonDemandAppender()
- Constructor for class org.mondemand.log4j.
MonDemandAppender
N
notice(String, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message at priority level NOTICE
notice(TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level NOTICE, determining the calling class and line number on the fly.
notice(String)
- Method in class org.mondemand.
Client
A convenience method to log a message at priority level NOTICE
NOTICE
- Static variable in class org.mondemand.
Level
Default notice priority value for the Logger
NULL_TRACE_ID
- Static variable in class org.mondemand.
TraceId
O
OFF
- Static variable in class org.mondemand.
Level
all off
org.mondemand
- package org.mondemand
org.mondemand.log4j
- package org.mondemand.log4j
org.mondemand.transport
- package org.mondemand.transport
org.mondemand.util
- package org.mondemand.util
R
removeAllContexts()
- Method in class org.mondemand.
Client
Clear contextual data from the logger.
removeContext(String)
- Method in class org.mondemand.
Client
Removes contextual data from the client.
requiresLayout()
- Method in class org.mondemand.log4j.
MonDemandAppender
LOG4J HOOKS *
S
sendLogs(String, LogMessage[], Context[])
- Method in class org.mondemand.transport.
LWESTransport
sendLogs(String, LogMessage[], Context[])
- Method in interface org.mondemand.
Transport
sendLogs(String, LogMessage[], Context[])
- Method in class org.mondemand.transport.
StderrTransport
sendStats(String, StatsMessage[], Context[])
- Method in class org.mondemand.transport.
LWESTransport
sendStats(String, StatsMessage[], Context[])
- Method in interface org.mondemand.
Transport
sendStats(String, StatsMessage[], Context[])
- Method in class org.mondemand.transport.
StderrTransport
sendTrace(String, Context[])
- Method in class org.mondemand.transport.
LWESTransport
sendTrace(String, Context[])
- Method in interface org.mondemand.
Transport
sendTrace(String, Context[])
- Method in class org.mondemand.transport.
StderrTransport
setAddress(String)
- Method in class org.mondemand.log4j.
MonDemandAppender
Sets the LWES address
setCounter(long)
- Method in class org.mondemand.
StatsMessage
setErrorHandler(ErrorHandler)
- Method in class org.mondemand.
Client
Sets a custom error handler.
setFilename(String)
- Method in class org.mondemand.
LogMessage
setId(long)
- Method in class org.mondemand.
TraceId
Mutator which allows the identifier to be overwritten
setImmediateSendLevel(int)
- Method in class org.mondemand.
Client
setImmediateSendLevel(int)
- Method in class org.mondemand.log4j.
MonDemandAppender
Sets the immediate send level for this appender.
setInterface(String)
- Method in class org.mondemand.log4j.
MonDemandAppender
Sets the LWES network interface
setKey(String, int)
- Method in class org.mondemand.
Client
Sets the counter to the specified val ue.
setKey(String, long)
- Method in class org.mondemand.
Client
Sets the counter to the specified val ue.
setKey(StatType, String, long)
- Method in class org.mondemand.
Client
setKey(String)
- Method in class org.mondemand.
Context
setKey(String)
- Method in class org.mondemand.
StatsMessage
setLevel(int)
- Method in class org.mondemand.
LogMessage
setLine(int)
- Method in class org.mondemand.
LogMessage
setMessage(String)
- Method in class org.mondemand.
LogMessage
setNoSendLevel(int)
- Method in class org.mondemand.
Client
setPort(int)
- Method in class org.mondemand.log4j.
MonDemandAppender
Sets the LWES port
setProgId(String)
- Method in class org.mondemand.log4j.
MonDemandAppender
Sets the program identifier for this appender.
setProgramId(String)
- Method in class org.mondemand.
Client
setRepeat(int)
- Method in class org.mondemand.
LogMessage
setTraceId(TraceId)
- Method in class org.mondemand.
LogMessage
setTtl(int)
- Method in class org.mondemand.log4j.
MonDemandAppender
Sets the LWES network TTL (for multicast)
setType(StatType)
- Method in class org.mondemand.
StatsMessage
setValue(String)
- Method in class org.mondemand.
Context
shutdown()
- Method in class org.mondemand.transport.
LWESTransport
shutdown()
- Method in interface org.mondemand.
Transport
shutdown()
- Method in class org.mondemand.transport.
StderrTransport
StatsMessage
- Class in
org.mondemand
StatsMessage()
- Constructor for class org.mondemand.
StatsMessage
StatType
- Enum in
org.mondemand
StderrTransport
- Class in
org.mondemand.transport
StderrTransport()
- Constructor for class org.mondemand.transport.
StderrTransport
STRINGS
- Static variable in class org.mondemand.
Level
textual representation
T
toString()
- Method in class org.mondemand.
LogMessage
toString()
- Method in class org.mondemand.
StatsMessage
toString()
- Method in enum org.mondemand.
StatType
TraceId
- Class in
org.mondemand
TraceId(long)
- Constructor for class org.mondemand.
TraceId
Create a trace ID with the given identifier
TraceId()
- Constructor for class org.mondemand.
TraceId
Default constructor, if no id is given
traceMessage(String, Map<String, String>)
- Method in class org.mondemand.
Client
traceMessage(String, String, String, Map<String, String>)
- Method in class org.mondemand.
Client
Transport
- Interface in
org.mondemand
TransportException
- Exception in
org.mondemand
Class for throwing exceptions from transport implementations
TransportException()
- Constructor for exception org.mondemand.
TransportException
TransportException(String)
- Constructor for exception org.mondemand.
TransportException
TransportException(Exception)
- Constructor for exception org.mondemand.
TransportException
TransportException(String, Exception)
- Constructor for exception org.mondemand.
TransportException
type
- Variable in enum org.mondemand.
StatType
V
valueOf(String)
- Static method in enum org.mondemand.
StatType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.mondemand.
StatType
Returns an array containing the constants of this enum type, in the order they are declared.
W
warning(String, int, TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message at priority level WARNING
warning(TraceId, String, Object[])
- Method in class org.mondemand.
Client
Logs a message a priority level WARNING, determining the calling class and line number on the fly.
warning(String)
- Method in class org.mondemand.
Client
A convenience method to log a message at priority level WARNING
WARNING
- Static variable in class org.mondemand.
Level
Default warning priority value for the Logger
A
C
D
E
F
G
H
I
L
M
N
O
R
S
T
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2012. All Rights Reserved.