21 lines
393 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
import bpy
import datetime
class TLM_Logman:
_log = []
def __init__(self):
print("Logger started Init")
self.append("Logger started.")
def append(self, appended):
self._log.append(str(datetime.datetime.now()) + ": " + str(appended))
#TODO!
def stats():
pass
def dumpLog(self):
for line in self._log:
print(line)