updates to api and logging

This commit is contained in:
sbcrumb committed 2025-09-08 15:04:20 -04:00
1 parent e40e80bfb5
commit 4e4ddbf92a
4 files changed
+57 -46

No files matched your search

+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}")