Adds a transport to the cache for the given key
Gets a value from the LoggerCache, or default to the given fallback value if there is no value cached for the given key
Returns whether or not the cache has a value for the given key
Removes a value from the LoggerCache
Removes the default transport from the cache
Removes the given transport from the cache
Sets a value in the LoggerCache
Returns an iterator of all cached Transports
Generated using TypeDoc
Cache singleton that can be used for caching logging related metadata from within your custom logger transports. Avoid using keys beginning with
__
(That's two (2) underscores) as any base transports use those keys for their metadata and you wouldn't want to overwrite those.All methods are static and will automatically create/use the singleton instance. You do not ever need to instantiate this class.