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

use Logger class for errors and warnings #705

Closed
takahashim opened this issue Dec 30, 2016 · 0 comments
Closed

use Logger class for errors and warnings #705

takahashim opened this issue Dec 30, 2016 · 0 comments

Comments

@takahashim
Copy link
Collaborator

Re:VIEWのerror logとwarningの出し方は場当たり的すぎる(すみません…)のでLoggerに統一したい。

  • Ruby標準のLoggerクラスを使う
  • 出力先はSTDERRにする(config.ymlで指定できてもいいかもだけど、config.yml読み込むより前にログを吐く可能性があるので手遅れぽいかも)
  • グローバル変数($loggerとか)は極力避けたい…
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