pear-crasher
v1.0.1
Published
Pear uncaught crash handler
Readme
pear-crasher
Pear uncaught crash handler
API
crasher(name, dir, write)
Sets up unhandled rejection and unhandled exception crash handlers.
name<string>is entered into logs and determines name of log file.dir<string>path to store log files. Typically thepear-constantsSWAP.write<boolean>- defaultfalse. Logs are always printed, ifwriteis true logs are also saved todir.
License
Apache-2.0
