indexing
description: "A flexible layout using a pattern"
usage: "[
The conversion pattern is closely related to the printf function in C.
is composed of literal text and format control expression called conversion
specifiers.
Each conversion specifier starts with an @ character and is followed by
optional format modifiers and a conversion character. The conversion
character specifies the type of data, e.g., category, priority, date,
message. The format modifiers control such things as field width, padding,
left and right justification.
]"
project: "Project Goanna <http://sourceforge.net/projects/goanna>"
library: "log4e"
date: "$Date$"
revision: "$Revision$"
author: "Glenn Maughan <glennmaughan@goanna.info>"
copyright: "Copyright (c) 2002 Glenn Maughan"
license: "Eiffel Forum License v1 (see forum.txt)."
class interface
L4E_PATTERN_LAYOUT
create
make (pattern: STRING)
require
pattern_exists: pattern /= void
feature
make (pattern: STRING)
require
pattern_exists: pattern /= void
feature
footer: STRING
L4E_SIMPLE_LAYOUT
ensure L4E_LAYOUT
footer_exists: Result /= void
format (event: L4E_EVENT): STRING
require L4E_LAYOUT
event_exists: event /= void
ensure L4E_LAYOUT
formatted_exists: Result /= void
header: STRING
L4E_SIMPLE_LAYOUT
ensure L4E_LAYOUT
header_exists: Result /= void
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- L4E_PATTERN_LAYOUT
Goanna Log4E -- Copyright © 2002 Glenn Maughan