This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
|
import time
|
|
from datetime import datetime
|
|
|
|
class Log(object):
|
|
def enregDansLog(self,pLog,pMsg,pIP):
|
|
with open("m/fichier/log", "a") as dest :
|
|
d = datetime.now().strftime("%c")
|
|
dest.write("%s,%s,%s,%s\n" % (d,pLog,pMsg,pIP))
|