Spaces:
Sleeping
Sleeping
Create analytics/events.py
Browse files- analytics/events.py +3 -0
analytics/events.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
def log_event(event: str, meta=None):
|
| 2 |
+
# HF-safe: console only, no identifiers
|
| 3 |
+
print(f"[ANALYTICS] {event} :: {meta or {}}")
|