Really enjoy using your package, so here's another feature request:
Allow disabling/suppressing the time diff after each line per debug statement.
For more extensive debug cases I like to print the environment variables:
"!!!DEBUG Full environment:\n`capture.output(print(base::Sys.getenv()))`"
Which gives the output (excerpt):
mypackage Full environment:
CLICOLOR_FORCE 1 +13ms mypackage Full environment:
CLUTTER_IM_MODULE xim +13ms mypackage Full environment:
COMPIZ_BIN_PATH /usr/bin/ +13ms mypackage Full environment:
COMPIZ_CONFIG_PROFILE ubuntu +13ms mypackage Full environment:
DBUS_SESSION_BUS_ADDRESS unix:abstract=/tmp/dbus-VNMWlDe8Oz +13ms mypackage Full environment:
DEBUGME inspecter +13ms mypackage Full environment:
DEFAULTS_PATH /usr/share/gconf/ubuntu.default.path +13ms mypackage Full environment:
DESKTOP_SESSION ubuntu +13ms mypackage Full environment:
DISPLAY :0 +13ms mypackage Full environment:
AFAICS there is no way to print a multi-line statement from within a DEBUG statement, and this might be out of scope? Maybe there is a solution I don't see to have line breaks in the output created by debug statements...
Some ideas:
a) defining some syntax to allow multiline output: "!!!DEBUG NOBREAK message..."b) exposing a function to users for checking if logging is enabled, so I can check before I make a potentially costly call: debugme::isEnabled(level = 1)
Really enjoy using your package, so here's another feature request:
Allow disabling/suppressing the time diff after each line per debug statement.
For more extensive debug cases I like to print the environment variables:
Which gives the output (excerpt):
AFAICS there is no way to print a multi-line statement from within a DEBUG statement, and this might be out of scope? Maybe there is a solution I don't see to have line breaks in the output created by debug statements...
Some ideas:
a) defining some syntax to allow multiline output:
"!!!DEBUG NOBREAK message..."
b) exposing a function to users for checking if logging is enabled, so I can check before I make a potentially costly call:debugme::isEnabled(level = 1)