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

Add Logger and configuration #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add Logger and configuration #32

wants to merge 1 commit into from

Conversation

seuros
Copy link
Member

@seuros seuros commented Jan 19, 2021

No description provided.

@seuros seuros requested a review from apotonick January 19, 2021 15:41

module Trailblazer
module Developer
# Your code goes here...
extend Dry::Configurable
setting(:logger, Logger.new($stdout), reader: true )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a fan of a global var, that logger could sit in flow_options!!!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sitting inside Trailblazer::Developer

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.

2 participants