Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
laydi/wiki/development/hints.md

15 lines
621 B
Markdown
Raw Permalink Normal View History

2023-01-25 13:36:26 +01:00
# Development hints
## Terminology
Read terminology for the conventions used in the program. This ensures a consistent use of terms within the program. New terminology should be described on the that page, and should be introduced only when needed. Too much terminology clutters the namespace.
## Logging
Log output is very easy. Import the logger module, and use the singleton Logger instance inside it. The logger has four different debug levels, debug, notice, warning and error. A simple example follows:
```python
import logger
logger.log('debug', 'This should appear in the log window as a debug message')
```