Avaya Conferencinge Plugable Logging API

com.avaya.conferencing.logging
Class LogMessage

java.lang.Object
  extended by com.avaya.conferencing.logging.LogMessage

public final class LogMessage
extends java.lang.Object

Wraps the key of a log message for type safety when logging.

Since:
5.1.0.0.0

Method Summary
 java.lang.String getKey()
          Gets the key in the message bundle.
static LogMessage make(java.lang.String key)
          Makes a new log message.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getKey

public java.lang.String getKey()
Gets the key in the message bundle.

Returns:
The key in the message bundle.

make

public static final LogMessage make(java.lang.String key)
Makes a new log message.

Parameters:
key - The key in the message bundle.
Returns:
The new LogMessage instance.

Avaya Conferencinge Plugable Logging API

Copyright © 2008-2009 Avaya, Inc. Licensed under the Apache License, Version 2.0.