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

gen: create a root logger in the root namespace #22

Open
doudou opened this issue Jun 15, 2015 · 0 comments
Open

gen: create a root logger in the root namespace #22

doudou opened this issue Jun 15, 2015 · 0 comments

Comments

@doudou
Copy link
Member

doudou commented Jun 15, 2015

There is currently no way to reliably define loggers in the hierarchy, and that sucks. Big time.

I can see would be a few different ways:

  1. in config/init.rb
  2. in a lib/<app_name>.rb file
  3. "internally" by the Roby app
  4. would be the most consistent, but it is currently not loaded in dependencies (i.e. if rock_bla depends on rock, bundles/rock/config/init.rb is not loaded). 3. would be the easiest.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant