gale.log.level module

This file contains the implementation of the class LogLevel: the standard library’s own logging severities (DEBUG/INFO/WARNING/ ERROR/CRITICAL), re-exported under gale’s own name.

Author: Alejandro Mujica (aledrums@gmail.com)

class gale.log.level.LogLevel[source]

Bases: object

The severities a log record can have, in increasing order of severity. These are exactly Python’s own logging levels — kept under gale’s own name so a game never has to import the standard library’s logging module just to pick a level.

DEBUG: int = 10
INFO: int = 20
WARNING: int = 30
ERROR: int = 40
CRITICAL: int = 50