Update Files
This commit is contained in:
21
leenkx/blender/lnx/lightmapper/utility/log.py
Normal file
21
leenkx/blender/lnx/lightmapper/utility/log.py
Normal file
@ -0,0 +1,21 @@
|
||||
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)
|
Reference in New Issue
Block a user