| Package | lc.core |
| Class | public class Message |
| Inheritance | Message Object |
| Subclasses | CompositeMessage |
Message class encapsulates a localized message and specifies
an appropriate logging level.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| formattedMessage : String
[read-only]
Retrieves the message text with all substitutions, appropriately formatted for display.
| Message | ||
| logLevel : int
Retrieves the logging level of the message.
| Message | ||
| messageId : String
[read-only]
Retrieves the message identifier.
| Message | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| rawMessage : String
[read-only]
Retrieves the message text with all substitutions, without the formatting for display.
| Message | ||
| Method | Defined By | ||
|---|---|---|---|
|
Constructor.
| Message | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| formattedMessage | property |
formattedMessage:String [read-only] Retrieves the message text with all substitutions, appropriately formatted for display.
public function get formattedMessage():String
| logLevel | property |
logLevel:int [read-write]
Retrieves the logging level of the message.
Valid options are values defined in the LogEventLevel class.
public function get logLevel():int
public function set logLevel(value:int):void
See also
| messageId | property |
messageId:String [read-only] Retrieves the message identifier.
public function get messageId():String
| rawMessage | property |
rawMessage:String [read-only] Retrieves the message text with all substitutions, without the formatting for display.
public function get rawMessage():String
| Message | () | Constructor |
public function Message(id:String, params:Array, logLevel:int = 4)
Constructor.
Parametersid:String — Specifies the message identifier.
|
|
params:Array — Specifies the message parameters that will be substituted in the message.
|
|
logLevel:int (default = 4) — Specifies the logging level that can be one of the following values.
|
See also
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/core/Message.html