Skip to content

Standardized Logger interface #11

@christoph-fricke

Description

@christoph-fricke

Ecosystems like Java or .Net or slf4j have standardized logging interface integrated into the language, which allow developers to use these interfaces as an dependency in their code without worrying about the actual logger.

The closest we have in the JS ecosystem is the Console interface. However it contains many methods that do not exist in most logging libraries or are not feasible for file logging.

This library tries to provide a standardized interface that is a subset of Console which hopefully allows for the same opportunities observed in other ecosystems. Since the interface is a subset of Console it it possible to depend on this interface and "just" use the console object as the logger.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions