-
-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Would you be open a to a PR to split this method by extracting a protected method “getMessage()” that basically does everything except for the call to Log::info()
? This would make it feasible to extend the class in case one wants to store the data else where, f.e. in a DB. Potentially there should even be another “formatMessage()” method and “getMessage()” just provides an array of data. what do you think?
https://github.com/spatie/laravel-http-logger/blob/master/src/DefaultLogWriter.php#L12
Metadata
Metadata
Assignees
Labels
No labels