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

Logger Update 1) Custom Log Driver Update #31

Merged
merged 2 commits into from
Mar 23, 2020

Conversation

JohnRoux
Copy link
Contributor

Updated the config with some nice helper text
Updated ServiceProvider to allow for custom drivers without overriding the Service Provider, but instead just parsing through a class name.
Updated Readme to reflect the override option change

#30

@@ -50,7 +52,16 @@ public function bindServices(){
$instance = DBLogger::class;
break;
default:
throw new Exception("Unsupported Driver");
try {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's probably a much better way of doing this.
I tested it several times and this does work.
Any recommendations appreciated

@aungwinthant aungwinthant merged commit e9a507d into aungwinthant:master Mar 23, 2020
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