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

feat: add enable method #847

Merged
merged 2 commits into from
Feb 8, 2021
Merged

feat: add enable method #847

merged 2 commits into from
Feb 8, 2021

Conversation

czy88840616
Copy link
Member

@czy88840616 czy88840616 commented Feb 8, 2021

1、增加方法

expect(logger.isEnableConsole()).toBeTruthy();
expect(logger.isEnableFile()).toBeTruthy();
expect(logger.isEnableError()).toBeFalsy();

2、请求作用域对象下,info 增加 ctx。

@gitpod-io
Copy link

gitpod-io bot commented Feb 8, 2021

@czy88840616 czy88840616 merged commit a85b99d into 2.x Feb 8, 2021
@czy88840616 czy88840616 deleted the add_logger_method branch February 8, 2021 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant