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

logger: 允许打印日志到控制台 #285

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Conversation

romberli
Copy link

@romberli romberli commented Jun 21, 2021

What problem does this PR solve?

文档里虽然说可以打印日志至控制台与文件, 但实际上soar无法打印至控制台, 本pr修复了该问题

What is changed and how it works?

修改了logger初始化函数, 当参数log-output的值为空时, 将logger设置为AdapterConsole

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change
  • Has persistent data change

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

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

Successfully merging this pull request may close these issues.

1 participant