Formatters specify the format of logged messages. You can associate a formatter with a handler to specify the format of messages logged through the handler. Table 3-18 describes the formatter properties.
Tab name / Setting name |
Specifies |
---|---|
General / Description |
An optional description. |
Type / Message Format |
The format pattern for the message text, using the placeholders listed in Table 3-19. You can use the Insert Tag control to insert these placeholders, or type them yourself. |
Type / Insert Tag |
When editing the message format, use this control to insert the placeholder tags. |
Type / Simple Date Format |
The format for timestamps in log messages. The pattern for the timestamps embedded in log messages, as converted to strings by java.text.SimpleDateFormat. For details, see the DateFormat API documentation. |
Table 3-19 lists the placeholders that you can use when specifying the message format pattern. Each placeholder represents part of the message.
Copyright © 2003. Sybase Inc. All rights reserved. |
![]() |