SaveLog - EndingOsprey317/jlib GitHub Wiki

__init__

jlib.SaveLog.__init__(*args)

This function will save the latest error log. It will save ./error.log --> ./error_logs/current unix time.log. If "!pass" is given as the first argument it will perform no function.

__str__

jlib.SaveLog.__str__()

When the module is called as a string it will return the following text:

JLIB: SaveLog
--jlib.SaveLog(): saves an error log