Classes Clusters Cluster hierarchy Relations Contracts Flat contracts Go to:
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 feature -- Initialisation make (pattern: STRING) -- Create new pattern layout using 'new_pattern' to format -- the message require pattern_exists: pattern /= void feature -- Rendering format (event: L4E_EVENT): STRING -- Format contents of 'event' according to this layout's -- formatting rules. -- Apply all converters to event in order. end -- class L4E_PATTERN_LAYOUT
Classes Clusters Cluster hierarchy Relations Contracts Flat contracts Go to:

Goanna Log4E -- Copyright © 2002 Glenn Maughan