indexing
description: "Logging appender that writes to a file and is rolled at specified calendar intervals."
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_CALENDAR_ROLLING_APPENDER
create
make,
make_daily,
make_minutely,
make_hourly
feature
make (new_name: STRING; number_of_backups: INTEGER; appending: BOOLEAN)
L4E_CALENDAR_ROLLING_APPENDERmake_daily
require
name_exists: new_name /= void
name_not_empty: not new_name.is_empty
positive_number_of_backups: number_of_backups >= 0
ensure
l4e_file_open: stream.is_open_write
make_daily (new_name: STRING; number_of_backups: INTEGER; appending: BOOLEAN)
L4E_CALENDAR_ROLLING_APPENDERmake
require
name_exists: new_name /= void
name_not_empty: not new_name.is_empty
positive_number_of_backups: number_of_backups >= 0
ensure
l4e_file_open: stream.is_open_write
make_minutely (new_name: STRING; number_of_backups: INTEGER; appending: BOOLEAN)
require
name_exists: new_name /= void
name_not_empty: not new_name.is_empty
positive_number_of_backups: number_of_backups >= 0
ensure
l4e_file_open: stream.is_open_write
make_hourly (new_name: STRING; number_of_backups: INTEGER; appending: BOOLEAN)
require
name_exists: new_name /= void
name_not_empty: not new_name.is_empty
positive_number_of_backups: number_of_backups >= 0
ensure
l4e_file_open: stream.is_open_write
end -- L4E_CALENDAR_ROLLING_APPENDER
Goanna Log4E -- Copyright © 2002 Glenn Maughan