Python YASMIN (Yet Another State MachINe)
Loading...
Searching...
No Matches
logs.py File Reference

Classes

class  yasmin.logs.LogLevel
 

Namespaces

namespace  yasmin
 
namespace  yasmin.logs
 

Functions

None yasmin.logs.set_log_level (LogLevel level)
 Sets the log level for the logs.
 
str yasmin.logs.log_level_to_name (LogLevel level)
 
List[Union[str, int]] yasmin.logs.get_caller_info ()
 
None yasmin.logs.default_log_message (LogLevel level, str file, str function, int line, str text)
 
None yasmin.logs.log_helper (LogLevel level, str file, str function, int line, str text)
 
None yasmin.logs.YASMIN_LOG_ERROR (str text)
 
None yasmin.logs.YASMIN_LOG_WARN (str text)
 
None yasmin.logs.YASMIN_LOG_INFO (str text)
 
None yasmin.logs.YASMIN_LOG_DEBUG (str text)
 
None yasmin.logs.set_loggers (Callable[[LogLevel, str], None] new_log_message)
 
None yasmin.logs.set_default_loggers ()
 

Variables

list yasmin.logs.__all__
 
 yasmin.logs.level
 
 yasmin.logs.NOTSET
 
 yasmin.logs.format
 
 yasmin.logs.log_level = LogLevel.INFO
 The current log level for the application.
 
None yasmin.logs.log_message = default_log_message