Logger🍋
Logger
🍋
Unique Logger object to handle Python logging.
Example
import logging
import geolime as geo
geo.Project().set_config(geo.Config.COLORED_LOGS, True)
geo.Logger().set_level(logging.DEBUG)
geo.debug("debug")
geo.info("info")
geo.warning("warning")
geo.error("error")
geo.critical("critical")
critical(msg)
🍋
Convenience function to log a critical message.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
msg |
str
|
message to log. |
required |
debug(msg)
🍋
Convenience function to log a debug message.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
msg |
str
|
message to log. |
required |
error(msg)
🍋
Convenience function to log a error message.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
msg |
str
|
message to log. |
required |
Last update:
2022-12-07