Package log provides functionality similar to standard log package with some extensions:
- verbosity levels - global verbosity setting that can be used by multiple packages - ability to disable all output - ability to cache recent output in memory
Retrieves cached log output.
EnableCaching enables in memory caching of log output. Caches up to maxLines, but no more than maxMem bytes. Cached output can later be queried with CachedOutput.