improve debugging
This commit is contained in:
parent
654794de61
commit
988672d2d9
@ -95,7 +95,7 @@ interruptOnKeyPress=False
|
||||
doubleTapDelay=0.2
|
||||
|
||||
[general]
|
||||
debugLevel=2
|
||||
debugLevel=3
|
||||
punctuationLevel=Some
|
||||
numberOfClipboards=10
|
||||
# define the current fenrir key
|
||||
|
@ -46,9 +46,9 @@ class debug():
|
||||
if not self._fileOpened:
|
||||
self.openDebugFile()
|
||||
msg = str(level) +' ' + str(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S.%f')
|
||||
) + ': ' + text + '\n'
|
||||
) + ': ' + text
|
||||
print(msg)
|
||||
self._file.write(msg)
|
||||
self._file.write(msg + '\n')
|
||||
|
||||
|
||||
def closeDebugFile(self):
|
||||
|
Loading…
Reference in New Issue
Block a user