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

change logging module #104

Open
mxriverlynn opened this issue Aug 7, 2010 · 1 comment
Open

change logging module #104

mxriverlynn opened this issue Aug 7, 2010 · 1 comment

Comments

@mxriverlynn
Copy link
Owner

the logging module currently provide an @logger to any class that includes it. this should be changes to use a module level variable, such as Albacore.logger so that the logger is always available, everywhere, not just in modules / classes that include the logging module

@mxriverlynn
Copy link
Owner Author

this introduces issues with the current logging levels that are settable in each specific task instance, though. example:

msbuild do |msb|
  msb.log_level = :verbose
end

this wouldn't work if every access to the logger was from a class level attribute. will have to re-think this and/or decide if i just want to delete the ticket.

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