undone : add `_isLoggingEnabled` environment constant and use it to disable logging by default

should reduce code-size of applications that use `undone` by allowing
the tree-shaker to remove the `logging` package as dead code (assuming
other parts of the application don't use the `logging` package - they
should follow a similar approach to ensure its removal).