flux.logging
Interface LogEntry

All Superinterfaces:
java.io.Serializable

public interface LogEntry
extends java.io.Serializable

Contains information about one line in the Flux logs.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 java.lang.String getEngineName()
          Returns the name of the engine from which this log entry originated.
 java.lang.String getLogger()
          Returns the engine logger -- "client", "flow_chart", or "system" -- that generated this log entry.
 Level getLoggingLevel()
          Returns the logging level for this log entry.
 java.lang.String getMessage()
          Returns the message contents of this log entry.
 java.lang.String getNamespace()
          Returns the namespace, if any, contained within this log entry.
 java.util.Date getTimestamp()
          Returns the timestamp when this log entry was recorded.
 java.lang.String getUsername()
          Returns the username responsible for generating this log entry.
 

Method Detail

getEngineName

java.lang.String getEngineName()
Returns the name of the engine from which this log entry originated.

Returns:
The name of the engine from which this log entry originated.

getLogger

java.lang.String getLogger()
Returns the engine logger -- "client", "flow_chart", or "system" -- that generated this log entry.

Returns:
The engine logger -- "client", "flow_chart", or "system" -- that generated this log entry.
See Also:
Configuration.CLIENT_LOGGER, Configuration.FLOW_CHART_LOGGER, Configuration.SYSTEM_LOGGER

getLoggingLevel

Level getLoggingLevel()
Returns the logging level for this log entry.

Returns:
The logging level for this log entry.

getMessage

java.lang.String getMessage()
Returns the message contents of this log entry.

Returns:
The message contents of this log entry.

getNamespace

java.lang.String getNamespace()
Returns the namespace, if any, contained within this log entry.

Returns:
The namespace, if any, contained within this log entry.

getTimestamp

java.util.Date getTimestamp()
Returns the timestamp when this log entry was recorded.

Returns:
The timestamp when this log entry was recorded.

getUsername

java.lang.String getUsername()
Returns the username responsible for generating this log entry. May be null if this log entry was generated from an unsecured Flux engine.

Returns:
The username responsible for generating this log entry. May be null if this log entry was generated from an unsecured Flux engine.


© 2014 Flux Corporation. All rights reserved.