log package¶
Submodules¶
log.logger module¶
Created on 19 de mai de 2020
@author: klaus
-
class
log.logger.
LogLocation
¶ Bases:
enum.Enum
A LogLocation is an identifier which locates where a logged message may come from.
-
CLASSIFIER
= 2¶
-
EXPERIMENT
= 1¶
-
FILTER
= 3¶
-
HOOK
= 5¶
-
MATRIX
= 4¶
-
NOISE
= 6¶
-
OTHER
= 0¶
-
OUTPUT
= 8¶
-
SPECIFICATION
= 6¶
-
UTILS
= 7¶
-
-
log.logger.
debug
(msg, log_loc=<LogLocation.OTHER: 0>)¶
-
log.logger.
error
(msg, log_loc=<LogLocation.OTHER: 0>)¶
-
log.logger.
info
(msg, log_loc=<LogLocation.OTHER: 0>)¶
-
log.logger.
ll
¶ Flag that may force Debug to be Disabled
alias of
log.logger.LogLocation
-
log.logger.
log
(msg, log_type, log_loc=<LogLocation.OTHER: 0>)¶ Logs data to this module’s logger.
-
log.logger.
set_allowed_debug_locations
(locs)¶ Sets which of the identifiers (
log.logger.LogLocation
) should NOT have their debug messages suppressed.- Parameters
locs (List[
log.logger.LogLocation
]) –
-
log.logger.
warn
(msg, log_loc=<LogLocation.OTHER: 0>)¶