modifiche varie
This commit is contained in:
@@ -12,7 +12,7 @@ class fancyLogger(object):
|
||||
'''
|
||||
Colorizza il logger di python, per un' esperienza alla willy wonka
|
||||
'''
|
||||
def __init__(self, name="Logger", consoleLog=True, fileLog=True, filePath=None):
|
||||
def __init__(self, name="Logger", consoleLog=True, fileLog=True):
|
||||
settings = json.load(open("./testSettings.json"))["logger"]
|
||||
colorama.init(convert=True)
|
||||
self.LRED = colorama.Fore.LIGHTRED_EX
|
||||
@@ -52,7 +52,7 @@ class fancyLogger(object):
|
||||
pass
|
||||
|
||||
def info(self, msg="Undefined Info"):
|
||||
print(self.WHITE, end='')
|
||||
print(self.LGREEN, end='')
|
||||
self.LOGGER.info(msg)
|
||||
print(self.RST, end='')
|
||||
pass
|
||||
|
||||
@@ -3,7 +3,7 @@ Created on 2 nov 2019
|
||||
|
||||
@author: Emanuele Trabattoni
|
||||
'''
|
||||
|
||||
import libfancylogger
|
||||
class bananaSPLITTER(object):
|
||||
'''
|
||||
Funzionalita' base per apertura e divisione di file da LexisNexis
|
||||
|
||||
Reference in New Issue
Block a user