Classes Clusters Cluster hierarchy Relations Contracts Flat contracts Go to:
indexing description: "Logging event." 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_EVENT create make (log: L4E_LOGGER; event_priority: L4E_PRIORITY; event_message: ANY) -- Create a new logging event for the -- logger 'log', priority 'event_priority' -- and message object 'event_message'. The -- message will be converted to a string -- using '.out'. require cat_exists: log /= void event_priority_exists: event_priority /= void event_message_exists: event_message /= void feature -- Access system_clock: DT_SYSTEM_CLOCK -- Local system clock -- (from DT_SHARED_SYSTEM_CLOCK) ensure -- from DT_SHARED_SYSTEM_CLOCK system_clock_not_void: Result /= void utc_system_clock: DT_UTC_SYSTEM_CLOCK -- UTC system clock -- (from DT_SHARED_SYSTEM_CLOCK) ensure -- from DT_SHARED_SYSTEM_CLOCK utc_system_clock_not_void: Result /= void feature -- Transformation as_storable: L4E_STORABLE_EVENT -- Convert to a storable memento object feature -- Initialisation make (log: L4E_LOGGER; event_priority: L4E_PRIORITY; event_message: ANY) -- Create a new logging event for the -- logger 'log', priority 'event_priority' -- and message object 'event_message'. The -- message will be converted to a string -- using '.out'. require cat_exists: log /= void event_priority_exists: event_priority /= void event_message_exists: event_message /= void feature -- Status Report logger: L4E_LOGGER -- The logger in which this logging event occurred. message: ANY -- Unrenderred message object priority: L4E_PRIORITY -- The logging priority level for this event. rendered_message: STRING -- String representation of 'message' after -- applying layout. time_stamp: DT_DATE_TIME -- Time stamp indicating when event was created. invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) end -- class L4E_EVENT
Classes Clusters Cluster hierarchy Relations Contracts Flat contracts Go to:

Goanna Log4E -- Copyright © 2002 Glenn Maughan