Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes | Static Public Attributes
ply.lex.PlyLogger Class Reference

List of all members.

Public Member Functions

def __init__
def critical
def warning
def error

Public Attributes

 f

Static Public Attributes

 info = critical
 debug = critical

Detailed Description

Definition at line 78 of file lex.py.


Constructor & Destructor Documentation

def ply.lex.PlyLogger.__init__ (   self,
  f 
)

Definition at line 79 of file lex.py.

00079 
00080     def __init__(self,f):
        self.f = f

Member Function Documentation

def ply.lex.PlyLogger.critical (   self,
  msg,
  args,
  kwargs 
)

Definition at line 81 of file lex.py.

00081 
00082     def critical(self,msg,*args,**kwargs):
00083         self.f.write((msg % args) + "\n")

def ply.lex.PlyLogger.error (   self,
  msg,
  args,
  kwargs 
)

Definition at line 87 of file lex.py.

00087 
00088     def error(self,msg,*args,**kwargs):
00089         self.f.write("ERROR: " + (msg % args) + "\n")

def ply.lex.PlyLogger.warning (   self,
  msg,
  args,
  kwargs 
)

Definition at line 84 of file lex.py.

00084 
00085     def warning(self,msg,*args,**kwargs):
00086         self.f.write("WARNING: "+ (msg % args) + "\n")


Member Data Documentation

Definition at line 91 of file lex.py.

Definition at line 80 of file lex.py.

Definition at line 90 of file lex.py.


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