Adjust white space and old tests in logging.
Adjust whitespace, new tests for logging.format.
Add tests for logging restricted keys.
Make getCallerDetails public, add tests.