CLog 0.1.0
logging as simple as putting on a shoe
Classes | Namespaces | Functions | Variables
printfmt.py File Reference

Classes

class  clog.utils.printfmt.Colours
 

Namespaces

namespace  clog
 
namespace  clog.utils
 
namespace  clog.utils.printfmt
 

Functions

str clog.utils.printfmt.loglevel_as_str (Union[LogLevel, int] level)
 
str clog.utils.printfmt.log_as_col (Union[int, LogLevel] level)
 
str clog.utils.printfmt.gen_log_header (Union[LogLevel, int, str] _type)
 
str clog.utils.printfmt.wrap (str value, *int width=120, int tb_size=4)
 

Variables

string clog.utils.printfmt.__LOG_TMPL = "[{DATE}] [{0}] {TYPE} "
 log message constant format template More...
 
string clog.utils.printfmt.__TIMESTAMP_FMT = "%Y-%m-%dT%H:%M:%S%z"
 string time format (ISO: 8601, long-form) More...