BigBrotherBot v1.5.0
System Development Information for the BigBrotherBot project.
Classes | Functions | Variables

b3::output Namespace Reference

Classes

class  OutputHandler
class  stdoutLogger
class  stderrLogger

Functions

def getInstance

Variables

string __author__ = 'ThorN'
string __version__ = '1.5.0'
int CONSOLE = 22
int BOT = 21
int VERBOSE = 9
int VERBOSE2 = 8
 __output = None
tuple log = getInstance('test.log', 1, False, True)

Function Documentation

def b3::output::getInstance (   logfile = 'b3.log',
  loglevel = 21,
  log2console = False,
  log2both = False 
)
NOTE: log2console is mostly useful for developers. This will make the bot
log everything to stderr instead of into the usual logfile.
log2both will write to both the logfile and also stderr.

Variable Documentation

string b3::output::__author__ = 'ThorN'
string b3::output::__version__ = '1.5.0'
int b3::output::BOT = 21
tuple b3::output::log = getInstance('test.log', 1, False, True)
 All Classes Namespaces Files Functions Variables Properties