Module: ALib::Logging
Overview
the logging module extends classes (both at instance and class level) with many methods useful for logging. it relies on the builtin Logger class
Defined Under Namespace
Modules: LogClassMethods, LogMethods, LoggerExt
Constant Summary collapse
- EOL =
"\n"
- DIV0 =
("." * 79) << EOL
- DIV1 =
("-" * 79) << EOL
- DIV2 =
("=" * 79) << EOL
- DIV3 =
("#" * 79) << EOL
- SEC0 =
("." * 16) << EOL
- SEC1 =
("-" * 16) << EOL
- SEC2 =
("=" * 16) << EOL
- SEC3 =
("#" * 16) << EOL
Class Method Summary collapse
Methods included from LogMethods
#__logger_mutex, #__logger_sync, #btrace, #emsg, #errmsg, #log_err, #logger, #logger=
Class Method Details
.append_features(c) ⇒ Object
–{{{
1083 1084 1085 1086 1087 1088 1089 1090 |
# File 'lib/alib.rb', line 1083 def append_features c #--{{{ ret = super c.extend LogMethods c.extend LogClassMethods ret #--}}} end |