Module gip_common :: Class FakeLogger
[hide private]
[frames] | no frames]

Class FakeLogger

source code

Super simple logger for python installs which don't have the logging package.

Instance Methods [hide private]
 
__init__(self) source code
 
debug(self, msg, *args)
Pass a debug message to stderr.
source code
 
info(self, msg, *args)
Pass an info-level message to stderr.
source code
 
warning(self, msg, *args)
Pass a warning-level message to stderr.
source code
 
error(self, msg, *args)
Pass an error message to stderr.
source code
 
exception(self, msg, *args)
Pass an exception message to stderr.
source code
Method Details [hide private]

debug(self, msg, *args)

source code 

Pass a debug message to stderr.

Prints out msg % args.

Parameters:
  • msg - A message string.
  • args - Arguments which should be evaluated into the message.

info(self, msg, *args)

source code 

Pass an info-level message to stderr.

See Also: debug

warning(self, msg, *args)

source code 

Pass a warning-level message to stderr.

See Also: debug

error(self, msg, *args)

source code 

Pass an error message to stderr.

See Also: debug

exception(self, msg, *args)

source code 

Pass an exception message to stderr.

See Also: debug