MI Protect Privacy  1.0
A tornado server for smart house's camera of IUT Blagnac
 All Classes Namespaces Functions Pages
m.log.Log Class Reference
Inheritance diagram for m.log.Log:

Public Member Functions

def __init__
 
def printL
 

Public Attributes

 logger
 

Detailed Description

Log Manager

Constructor & Destructor Documentation

def m.log.Log.__init__ (   self)
Define 3 differents log :
activity.log -> all activity server
warning.log -> only warning server (including illegal acess)
error.log' -> error server
Write all message on terminal too

Member Function Documentation

def m.log.Log.printL (   self,
  pMsg,
  pLvl 
)
Add color and write in log with an define level
pMsg : message to write in log
pLvl : level of log message

The documentation for this class was generated from the following file: