indexing
description: "Hierarchy of logging categories."
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_HIERARCHY
create
make
feature
make (priority: L4E_PRIORITY)
ensure
not_disabled: disabled = disable_off
feature
logger (cat_name: STRING): L4E_LOGGER
require
cat_name_exists: cat_name /= void and then not cat_name.is_empty
no_start_or_end_dots: cat_name.item (1) /= '.' and then cat_name.item (cat_name.count) /= '.'
no_consecutive_dots: cat_name.substring_index ("..", 1) = 0
ensure
logger_exists: has (cat_name)
all_loggers: DS_LIST [L4E_LOGGER]
feature
root: L4E_LOGGER
disabled: INTEGER
has (name: STRING): BOOLEAN
require
name_exists: name /= void
Disable_off: INTEGER is -1
is_enabled_for (priority: L4E_PRIORITY): BOOLEAN
feature
disable (priority: L4E_PRIORITY)
require
priority_exists: priority /= void
ensure
priority_disabled: disabled = priority.level
disable_debug
disable_info
disable_all
enable_all
clear
close_all
end -- L4E_HIERARCHY
Goanna Log4E -- Copyright © 2002 Glenn Maughan