indexing
description: "Logging appender that writes to a file."
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_FILE_APPENDER
create
make (new_name: STRING; appending: BOOLEAN)
ensure
l4e_stream_open: stream.is_open_write
feature
dispose
feature
close
ensure L4E_APPENDER
closed: not is_open
do_append (event: L4E_EVENT)
require L4E_APPENDER
event_exists: event /= void
is_open: is_open
feature
make (new_name: STRING; appending: BOOLEAN)
ensure
l4e_stream_open: stream.is_open_write
feature
append_mode: BOOLEAN
is_open: BOOLEAN
L4E_APPENDER
layout: L4E_LAYOUT
L4E_APPENDER
name: STRING
L4E_APPENDER
feature
add_filter (filter: L4E_FILTER)
L4E_APPENDER
require L4E_APPENDER
filter_exists: filter /= void
filter_not_added: not has_filter (filter)
ensure L4E_APPENDER
filter_added: has_filter (filter)
append (event: L4E_EVENT)
L4E_APPENDER
require L4E_APPENDER
event_exists: event /= void
is_open: is_open
has_filter (filter: L4E_FILTER): BOOLEAN
L4E_APPENDER
require L4E_APPENDER
filter_exists: filter /= void
remove_filter (filter: L4E_FILTER)
L4E_APPENDER
require L4E_APPENDER
filter_exists: filter /= void
filter_added: has_filter (filter)
ensure L4E_APPENDER
filter_removed: not has_filter (filter)
set_layout (new_layout: L4E_LAYOUT)
L4E_APPENDER
require L4E_APPENDER
layout_exists: new_layout /= void
set_name (new_name: STRING)
L4E_APPENDER
require L4E_APPENDER
name_exists: new_name /= void
feature
stream: KI_TEXT_OUTPUT_FILE
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- L4E_FILE_APPENDER
Goanna Log4E -- Copyright © 2002 Glenn Maughan