updates to api and logging

This commit is contained in:
2025-09-08 15:04:20 -04:00
parent e40e80bfb5
commit 4e4ddbf92a
4 changed files with 57 additions and 46 deletions
+7
View File
@@ -0,0 +1,7 @@
"""Logging utilities for NFOguard"""
from datetime import datetime, timezone
def _log(level: str, msg: str):
"""Basic logging function that writes to console"""
print(f"[{datetime.now(timezone.utc).isoformat(timespec='seconds')}] {level}: {msg}")