mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-30 03:53:18 -04:00
c25d25227f
- Updated documentation so that it explains better how the mod works, requirements, setting up labels and notifications - Reduced number of API calls when swag container restarts - Added better support for setting up notifications and fixed issue with default notifications not being applied - Fixed an issue with mod crashing when there were Manually added monitors in Uptime Kuma - Fixed an issue with labels that container numeric values - Added basic support for Monitor Groups - More log messages so that its easier to grasp what is happening - Fixed a crash when mod was executed while uptime kuma was not running (mod just gently stops now)
11 lines
181 B
Python
11 lines
181 B
Python
class Log:
|
|
prefix: str
|
|
|
|
@staticmethod
|
|
def init(prefix):
|
|
Log.prefix = prefix
|
|
|
|
@staticmethod
|
|
def info(message):
|
|
print(f"[{Log.prefix}] {message}")
|