org.jwall.log
Interface LogMessage

All Superinterfaces:
Event, Serializable
All Known Implementing Classes:
LogMessageImpl

public interface LogMessage
extends Serializable, Event

This interface defines a simple abstract log message entity, comprised of a timestamp, a source-identifier and the date itself.

Author:
Christian Bockermann <chris@jwall.org>

Field Summary
static String LOG_LEVEL
           
static String MESSAGE
           
static String SOURCE
           
 
Fields inherited from interface org.jwall.audit.Event
TIMESTAMP, TYPE
 
Method Summary
 String get(String variable)
          This method returns the specified aspect for the given event.
 String getMessage()
           
 String getSource()
           
 void set(String variable, String value)
           
 
Methods inherited from interface org.jwall.audit.Event
getTimestamp, getType
 

Field Detail

SOURCE

static final String SOURCE
See Also:
Constant Field Values

MESSAGE

static final String MESSAGE
See Also:
Constant Field Values

LOG_LEVEL

static final String LOG_LEVEL
See Also:
Constant Field Values
Method Detail

getSource

String getSource()
Returns:
the source

getMessage

String getMessage()
Returns:
the message

get

String get(String variable)
Description copied from interface: Event
This method returns the specified aspect for the given event.

Specified by:
get in interface Event
Returns:

set

void set(String variable,
         String value)
Specified by:
set in interface Event


Copyright © 2012 jwall.org. All Rights Reserved.