BEA WebLogic Server Instrukcja Użytkownika Strona 27

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 88
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 26
Message Catalog Formats
Internationalization Guide 2-9
Log Message Catalog Example
The following example shows a log message catalog, MyUtilLog.xml, with one log
message.
Listing 2-2 Example of a Log Message Catalog
<?xml version="1.0"?>
<!DOCTYPE message_catalog PUBLIC "weblogic-message-catalog-dtd"
"
http://www.bea.com/servers/wls700/dtd/msgcat.dtd">
<message_catalog
l10n_package="programs.utils"
i18n_package="programs.utils"
subsystem="MYUTIL"
Element Parent
Element
Required/
Optional
Description
messagebody log_message
Required A string containing a short description for this
message. This element may contain zero or more
placeholders,
{n} that are replaced by the
appropriate argument when the log message is
localized.
messagedetail log_message
Required A string containing a detailed description of the
event. This element may contain zero or more
placeholders,
{n} that are replaced by the
appropriate argument when the log message is
localized.
cause log_message
Required A string describing the root cause of the problem.
This element may contain zero or more
placeholders, {n} that are replaced by the
appropriate argument when the log message is
localized.
action log_message
Required A string describing the recommended resolution.
This element may contain zero or more
placeholders, {n} that are replaced by the
appropriate argument when the log message is
localized.
Przeglądanie stron 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 87 88

Komentarze do niniejszej Instrukcji

Brak uwag