Skip to content

Conversation

@kjin
Copy link
Contributor

@kjin kjin commented Dec 29, 2016

'silent' is now the minimum log level. This allows one to not get any log output (since logging at 'silent' level is inherently discouraged by the level name), and aligns with the logLevel configuration option in the diagnostics agents.

Also, the logger constructor accepts an alternative list of levels other than logger.LEVELS.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 29, 2016
@stephenplusplus
Copy link
Contributor

Can you add a test to confirm a user's levels are honored?

@kjin
Copy link
Contributor Author

kjin commented Dec 29, 2016

@stephenplusplus Yep, see 80b4f3b

@stephenplusplus stephenplusplus merged commit 44ea645 into googleapis:master Dec 29, 2016
@stephenplusplus
Copy link
Contributor

Great, thanks!

@kjin
Copy link
Contributor Author

kjin commented Jan 3, 2017

@stephenplusplus Could you publish this under npm? Thanks!

@stephenplusplus
Copy link
Contributor

Sure thing! Just published 0.11.0.

@kjin
Copy link
Contributor Author

kjin commented Jan 3, 2017

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants