Create a new Logger configured with moosecat’s defaults.
Name : | A user-define name that describes the logger |
---|---|
Returns: | A new logger . |
Tries to find out the XDG caching path of your system.
This is done preferrably with PyXDG. If it’s not installed, we try the XDG_CACHE_HOME environment variable or default to ~/.cache/
If the path does not exist yet it will be created for you.
Parameters: | extra_name – Extra path component to append to the path (or None). |
---|---|
Returns: | The full path, e.g.: /home/user/.cache/libmunin/<extra_name> |
Commonly utility functions used througout.