Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.lmslogger
Enum LmsLogLevel

java.lang.Object
  extended by java.lang.Enum<LmsLogLevel>
      extended by com.genesyslab.platform.apptemplate.lmslogger.LmsLogLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LmsLogLevel>

public enum LmsLogLevel
extends java.lang.Enum<LmsLogLevel>

Log levels enumeration declarations specific for Genesys Message Server and Genesys LMS files specifications.


Enum Constant Summary
ALARM
          "Alarm" (in terms of usual logging - 'fatal error') level LMS event.
DEBUG
          Debug level LMS event.
INTERACTION
          "Interaction" (in terms of usual logging - 'warning') level LMS event.
STANDARD
          "Standard" (in terms of usual logging - 'error') level LMS event.
TRACE
          Trace (in terms of usual logging - 'info') level LMS event.
UNKNOWN
          The log message level is not specified or is unknown.
 
Method Summary
static LmsLogLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LmsLogLevel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final LmsLogLevel UNKNOWN
The log message level is not specified or is unknown.


DEBUG

public static final LmsLogLevel DEBUG
Debug level LMS event.


TRACE

public static final LmsLogLevel TRACE
Trace (in terms of usual logging - 'info') level LMS event.


INTERACTION

public static final LmsLogLevel INTERACTION
"Interaction" (in terms of usual logging - 'warning') level LMS event.


STANDARD

public static final LmsLogLevel STANDARD
"Standard" (in terms of usual logging - 'error') level LMS event.


ALARM

public static final LmsLogLevel ALARM
"Alarm" (in terms of usual logging - 'fatal error') level LMS event.

Method Detail

values

public static LmsLogLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LmsLogLevel c : LmsLogLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LmsLogLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.