Flopi
Flopi is a fine-grained logging and output Python interface for displaying and recording status, event, debugging, warning, and error information. In the future, Flopi will be able to operate as a pure Python module, or in conjunction with Flout when extending or embedding the Python interpreter.
Flopi is part of the Code Craftsmen project. The documentation is hosted on Read the Docs and the source code can be found on GitHub.
Status
This project is currently just a placeholder for ideas.
API Documentation
- class Python_Logger(name)
Python logger class.
- isEnabledFor(level)
Determine if the logger is enabled for the specified level.
- Parameters:
level (
int) – Logging level to query- Return type:
bool- Returns:
Whether the logger is enabled for the level or not
- is_enabled_for(level)
Determine if the logger is enabled for the specified level.
- Parameters:
level (
int) – Logging level to query- Return type:
bool- Returns:
Whether the logger is enabled for the level or not
- setLevel(level)
Set the logging level.
- Parameters:
level (
int) – New logging level
- set_level(level)
Set the logging level.
- Parameters:
level (
int) – New logging level