mewlo.mpacks.core.eventlog.mlogtarget_database module LogTarget subclass that writes to database table

class mewlo.mpacks.core.eventlog.mlogtarget_database.MewloLogTarget_Database(baseclass, tablename)[source]

Bases: mewlo.mpacks.core.eventlog.mlogger.MewloLogTarget

LogTarget_File - target that can write log lines to a file.

process(logmessage, flag_isfromqueue)[source]

Called by logger parent to actually do the work. We overide this in our subclass to do actual work.


Before we can save items we need to be started up AND the base class used for logging needs to have been registered.

startup_prep(stageid, eventlist, mewlosite)[source]

This is invoked by site strtup, for each stage specified in startup_stages_needed() above.

write(logmessage, flag_isfromqueue)[source]

Write out the logmessage to the file.

Table Of Contents

Previous topic

mewlo.mpacks.core.eventlog.mlogger module

Next topic

mewlo.mpacks.core.eventlog.mlogtarget_file module

This Page