Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contextual logging #10

Open
jankapunkt opened this issue Sep 21, 2022 · 0 comments
Open

Contextual logging #10

jankapunkt opened this issue Sep 21, 2022 · 0 comments

Comments

@jankapunkt
Copy link
Member

We need a logger that helps us to create better logs:

const logger = Log.create('name')

logger.log('something') // log [name] something
logger.debug('something') // log [name] something

but we should also be able to do global logs

Log.log('something) // log [global] something
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant