fabric.common
Class Logging

java.lang.Object
  extended by fabric.common.Logging

public final class Logging
extends java.lang.Object

This is the clearing house of all loggers available for use in the system.


Nested Class Summary
static class Logging.LogConfigLoader
          A class for loading the configuration for java.util.Logger.
 
Field Summary
static java.util.logging.Logger CLASS_HASHING_LOGGER
          For class-hashing events.
static java.util.logging.Logger CONFIG_LOGGER
          For configuration-related events.
static java.util.logging.Logger MISC_LOGGER
          For other events that don't fit into any other category.
static java.util.logging.Logger NAMING_LOGGER
          For events related to the naming service.
static java.util.logging.Logger NETWORK_CHANNEL_LOGGER
          For network channel events.
static java.util.logging.Logger NETWORK_CONNECTION_LOGGER
          For network connection events.
static java.util.logging.Logger NETWORK_MESSAGE_RECEIVE_LOGGER
          For network messages received from remote nodes.
static java.util.logging.Logger NETWORK_MESSAGE_SEND_LOGGER
          For network messages sent to remote nodes.
static java.util.logging.Logger STORE_DB_LOGGER
          For back-end DB events on the store.
static java.util.logging.Logger STORE_LOGGER
          For other store-related events that don't fit into any other category.
static java.util.logging.Logger STORE_REQUEST_LOGGER
          For requests received by the store.
static java.util.logging.Logger STORE_TRANSACTION_LOGGER
          For transaction events on the store.
static java.util.logging.Logger WORKER_LOCAL_STORE_LOGGER
          For local-store events on the worker.
static java.util.logging.Logger WORKER_LOGGER
          For other worker-related events that don't fit into any other category.
static java.util.logging.Logger WORKER_TRANSACTION_LOGGER
          For transaction events on the worker.
 
Constructor Summary
Logging()
           
 
Method Summary
static void log(java.util.logging.Logger logger, java.util.logging.Level level, java.lang.String msg, java.lang.Object param1)
          Logs a message, with one object parameter.
static void log(java.util.logging.Logger logger, java.util.logging.Level level, java.lang.String msg, java.lang.Object param1, java.lang.Object param2)
          Logs a message, with two object parameters.
static void log(java.util.logging.Logger logger, java.util.logging.Level level, java.lang.String msg, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
          Logs a message, with three object parameters.
static void log(java.util.logging.Logger logger, java.util.logging.Level level, java.lang.String msg, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
          Logs a message, with four object parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STORE_REQUEST_LOGGER

public static final java.util.logging.Logger STORE_REQUEST_LOGGER
For requests received by the store.


STORE_TRANSACTION_LOGGER

public static final java.util.logging.Logger STORE_TRANSACTION_LOGGER
For transaction events on the store.


STORE_DB_LOGGER

public static final java.util.logging.Logger STORE_DB_LOGGER
For back-end DB events on the store.


STORE_LOGGER

public static final java.util.logging.Logger STORE_LOGGER
For other store-related events that don't fit into any other category. Use sparingly.


WORKER_TRANSACTION_LOGGER

public static final java.util.logging.Logger WORKER_TRANSACTION_LOGGER
For transaction events on the worker.


WORKER_LOCAL_STORE_LOGGER

public static final java.util.logging.Logger WORKER_LOCAL_STORE_LOGGER
For local-store events on the worker.


WORKER_LOGGER

public static final java.util.logging.Logger WORKER_LOGGER
For other worker-related events that don't fit into any other category. Use sparingly.


NETWORK_CONNECTION_LOGGER

public static final java.util.logging.Logger NETWORK_CONNECTION_LOGGER
For network connection events.


NETWORK_CHANNEL_LOGGER

public static final java.util.logging.Logger NETWORK_CHANNEL_LOGGER
For network channel events.


NETWORK_MESSAGE_RECEIVE_LOGGER

public static final java.util.logging.Logger NETWORK_MESSAGE_RECEIVE_LOGGER
For network messages received from remote nodes.


NETWORK_MESSAGE_SEND_LOGGER

public static final java.util.logging.Logger NETWORK_MESSAGE_SEND_LOGGER
For network messages sent to remote nodes.


CONFIG_LOGGER

public static final java.util.logging.Logger CONFIG_LOGGER
For configuration-related events.


NAMING_LOGGER

public static final java.util.logging.Logger NAMING_LOGGER
For events related to the naming service.


CLASS_HASHING_LOGGER

public static final java.util.logging.Logger CLASS_HASHING_LOGGER
For class-hashing events.


MISC_LOGGER

public static final java.util.logging.Logger MISC_LOGGER
For other events that don't fit into any other category. Use sparingly.

Constructor Detail

Logging

public Logging()
Method Detail

log

public static void log(java.util.logging.Logger logger,
                       java.util.logging.Level level,
                       java.lang.String msg,
                       java.lang.Object param1)
Logs a message, with one object parameter.

Parameters:
logger - The logger to log to
level - One of the message level identifiers, e.g. SEVERE
msg - The string message (or a key in the message catalog)
param1 - first parameter to the message

log

public static void log(java.util.logging.Logger logger,
                       java.util.logging.Level level,
                       java.lang.String msg,
                       java.lang.Object param1,
                       java.lang.Object param2)
Logs a message, with two object parameters.

Parameters:
logger - The logger to log to
level - One of the message level identifiers, e.g. SEVERE
msg - The string message (or a key in the message catalog)
param1 - first parameter to the message
param2 - second parameter to the message

log

public static void log(java.util.logging.Logger logger,
                       java.util.logging.Level level,
                       java.lang.String msg,
                       java.lang.Object param1,
                       java.lang.Object param2,
                       java.lang.Object param3)
Logs a message, with three object parameters.

Parameters:
logger - The logger to log to
level - One of the message level identifiers, e.g. SEVERE
msg - The string message (or a key in the message catalog)
param1 - first parameter to the message
param2 - second parameter to the message
param3 - third parameter to the message

log

public static void log(java.util.logging.Logger logger,
                       java.util.logging.Level level,
                       java.lang.String msg,
                       java.lang.Object param1,
                       java.lang.Object param2,
                       java.lang.Object param3,
                       java.lang.Object param4)
Logs a message, with four object parameters.

Parameters:
logger - The logger to log to
level - One of the message level identifiers, e.g. SEVERE
msg - The string message (or a key in the message catalog)
param1 - first parameter to the message
param2 - second parameter to the message
param3 - third parameter to the message
param4 - fourth parameter to the message