modifié: m/log.py
This commit is contained in:
parent
544ec97deb
commit
be959a1123
2
m/log.py
2
m/log.py
@ -25,7 +25,7 @@ class Log(object):
|
|||||||
|
|
||||||
steam_handler = logging.StreamHandler()
|
steam_handler = logging.StreamHandler()
|
||||||
steam_handler.setLevel(logging.DEBUG)
|
steam_handler.setLevel(logging.DEBUG)
|
||||||
logger.addHandler(steam_handler)
|
self.logger.addHandler(steam_handler)
|
||||||
|
|
||||||
def enregDansLog(self,pLog,pMsg,pIP):
|
def enregDansLog(self,pLog,pMsg,pIP):
|
||||||
with open("fichier/log", "a") as dest :
|
with open("fichier/log", "a") as dest :
|
||||||
|
Reference in New Issue
Block a user