GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
LOGGER
+
Point of view
TYPED_INTERNALS
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
LOG_INTERNAL_CONF
LOG_LEVEL
LOGGING
All features
class LOGGER
Summary
top
A simple logger.
Direct parents
Insert list:
ANY
Class invariant
top
tag
/= Void
level
/= Void
Overview
top
Creation features
make
(a_output:
LOG_OUTPUT
, a_tag:
FIXED_STRING
, a_id:
INTEGER_32
)
Exported features
parent
: LOGGER
level
:
LOG_LEVEL
tag
:
FIXED_STRING
Logging streams
trace
:
OUTPUT_STREAM
info
:
OUTPUT_STREAM
warning
:
OUTPUT_STREAM
error
:
OUTPUT_STREAM
Logging checks
is_trace
:
BOOLEAN
is_info
:
BOOLEAN
is_warning
:
BOOLEAN
is_error
:
BOOLEAN
Log level
set_level
(a_level:
LOG_LEVEL
)
Parent logger
set_parent
(a_parent: LOGGER)
Log output, internal usage only
output
:
LOG_OUTPUT
is_valid
:
BOOLEAN
make
(a_output:
LOG_OUTPUT
, a_tag:
FIXED_STRING
, a_id:
INTEGER_32
)
levels
:
LOG_LEVELS
generation_id
:
INTEGER_32
parent
: LOGGER
writable attribute
top
level
:
LOG_LEVEL
writable attribute
top
tag
:
FIXED_STRING
writable attribute
top
trace
:
OUTPUT_STREAM
effective function
top
ensure
Result /= Void
info
:
OUTPUT_STREAM
effective function
top
ensure
Result /= Void
warning
:
OUTPUT_STREAM
effective function
top
ensure
Result /= Void
error
:
OUTPUT_STREAM
effective function
top
ensure
Result /= Void
is_trace
:
BOOLEAN
effective function
top
is_info
:
BOOLEAN
effective function
top
is_warning
:
BOOLEAN
effective function
top
is_error
:
BOOLEAN
effective function
top
set_level
(a_level:
LOG_LEVEL
)
effective procedure
top
require
a_level /= Void
ensure
level
= a_level
set_parent
(a_parent: LOGGER)
effective procedure
top
require
a_parent /= Void
ensure
parent
= a_parent
output
:
LOG_OUTPUT
writable attribute
top
is_valid
:
BOOLEAN
effective function
top
make
(a_output:
LOG_OUTPUT
, a_tag:
FIXED_STRING
, a_id:
INTEGER_32
)
effective procedure
top
require
a_output /= Void
ensure
output
= a_output
tag
= a_tag
generation_id
= a_id
is_valid
levels
:
LOG_LEVELS
writable attribute
top
generation_id
:
INTEGER_32
writable attribute
top