indexing description: "Pattern converter for formatting categories" project: "Project Goanna " library: "log4e" date: "$Date$" revision: "$Revision$" author: "Glenn Maughan " copyright: "Copyright (c) 2002 Glenn Maughan" license: "Eiffel Forum License v1 (see forum.txt)." class L4E_CATEGORY_PATTERN_CONVERTER inherit L4E_PATTERN_CONVERTER rename make as pattern_converter_make export {NONE} pattern_converter_make end create make feature -- Initialisation make (formatting_info: L4E_FORMATTING_INFO; precision: INTEGER) is -- Initialise with 'formatting_info'. require formatting_info_exists: formatting_info /= Void do pattern_converter_make (formatting_info) end feature {NONE} -- Implementation convert_event (event: L4E_EVENT): STRING is -- Convert conversion specifiers appropriately. do Result := event.logger.name end end -- class L4E_CATEGORY_PATTERN_CONVERTER