com.sun.messaging.jms.management.server
public class LogNotification extends MQNotification
Modifier and Type | Field and Description |
---|---|
static String |
LOG_LEVEL_ERROR |
static String |
LOG_LEVEL_INFO |
static String |
LOG_LEVEL_PREFIX |
static String |
LOG_LEVEL_WARNING |
PREFIX
source
Constructor and Description |
---|
LogNotification(String type,
Object source,
long sequenceNumber)
Creates a LogNotification object.
|
Modifier and Type | Method and Description |
---|---|
String |
getLevel()
Returns the log level related to this log notification.
|
String |
getMessage()
Returns message related to this log notification.
|
void |
setLevel(String level)
Sets the log level related to this log notification.
|
void |
setMessage(String msg)
Sets the message related to this log notification.
|
getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
getSource
public static final String LOG_LEVEL_PREFIX
public static final String LOG_LEVEL_WARNING
public static final String LOG_LEVEL_ERROR
public static final String LOG_LEVEL_INFO
public void setMessage(String msg)
msg
- The log message for this notification.public String getMessage()
getMessage
in class Notification
public void setLevel(String level)
level
- The log level for this notification.public String getLevel()
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.