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

Fix logger for AuditLoggerInfo when none is provided. #109

Merged
merged 3 commits into from
Feb 16, 2018

Conversation

jon-whit
Copy link
Contributor

@jon-whit jon-whit commented Feb 15, 2018

This commit fixes an issue with the AuditLoggerInfo structure where
a user may fail to provide a logger at the time the struct is instantiated.

The method logger() for the AuditLoggerInfo structure handles this case by
instantiating a default logger that logs to Stderr if no logger instance
is provided. The logger() method simply needs to be used, and this commit
adds that functionality.

Jonathan Whitaker added 3 commits February 15, 2018 14:57
This commit fixes an issue with the AuditLoggerInfo structure where
a user may fail to provide a logger at the time the struct is instantiated.

The method logger() for the AuditLoggerInfo structure handles this case by
instantiating a default logger that logs to Stderr if no logger instance
is provided. The logger() method simply needs to be used, and this commit
adds that functionality.
This commit fixes an issue with the AuditLoggerInfo structure where
a user may fail to provide a logger at the time the struct is instantiated.

The method logger() for the AuditLoggerInfo structure handles this case by
instantiating a default logger that logs to Stderr if no logger instance
is provided. The logger() method simply needs to be used, and this commit
adds that functionality.

Signed-off-by: Jonathan Whitaker <jon.b.whitaker@gmail.com>
@aeneasr
Copy link
Member

aeneasr commented Feb 16, 2018

Nice, thank you!

@aeneasr aeneasr merged commit de3d0b6 into ory:master Feb 16, 2018
@jon-whit
Copy link
Contributor Author

You're welcome @arekkas! Thanks for Ladon, it's been great for my needs 👍

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.

None yet

2 participants