mgear

mGear init module

Functions

getInfos(level)

Get information from where the method has been fired.

getVersion()

Get mGear version

install()

log(message[, severity, infos])

Log a message using severity and additional info from the file itself.

logInfos()

Log version of Gear

reloadModule([name])

Reload a module and its sub-modules from a given module name.

setDebug(b)

Set the debug mode to given value.

toggleDebug()

Toggle the debug mode value.

toggleLog()

Toggle the log value.

Exceptions

FakeException