Log Manager.
More...
|
def | __init__ (self, directory) |
| Define 3 differents utils : activity.log -> all activity warning.log -> only warning error.log -> error Write all message on terminal too. More...
|
|
def | printL (self, pMsg, pLvl) |
| Add color and write in log with an define level. More...
|
|
def Log.Log.__init__ |
( |
|
self, |
|
|
|
directory |
|
) |
| |
Define 3 differents utils : activity.log -> all activity warning.log -> only warning error.log -> error Write all message on terminal too.
def Log.Log.printL |
( |
|
self, |
|
|
|
pMsg, |
|
|
|
pLvl |
|
) |
| |
Add color and write in log with an define level.
- Parameters
-
pMsg | message to write in log |
pLvl | level of log message |
The documentation for this class was generated from the following file:
- /home/sidya/PycharmProjects/DNC/serveur/Log.py