File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 11
11
* [ Splunk Configuration] ( #splunk-configuration )
12
12
* [ Example .env] ( #example-env )
13
13
* [ Usage] ( #usage )
14
+ * [ Output Example] ( #output-example )
14
15
* [ Bug report or Feature request] ( #bug-report-or-feature-request )
15
16
* [ Want to Contribute?] ( #want-to-contribute )
16
17
* [ Code of Conduct] ( #code-of-conduct )
96
97
97
98
For more custom logging options, refer to the [ Laravel Logging Documentation] ( https://laravel.com/docs/11.x/logging#writing-log-messages ) .
98
99
100
+ ## Output Example
101
+
102
+ ``` json
103
+ {
104
+ "message" :" This is a custom Error" ,
105
+ "context" : {
106
+ "user_id" :1 ,
107
+ "name" :" John Doe" ,
108
+ "email" :" john@doe.com" ,
109
+ "is_admin" :false
110
+ },
111
+ "level" :400 ,
112
+ "level_name" :" ERROR" ,
113
+ "channel" :" Laravel" ,
114
+ "datetime" :" 2025-03-05T11:35:46.111298+00:00" ,
115
+ "extra" :[]
116
+ }
117
+ ```
118
+
99
119
## Bug report or Feature request
100
120
101
121
If you encounter a bug or have a feature request, please [ create an issue] ( https://github.com/schauinsland/laravel-splunk-logger/issues ) .
You can’t perform that action at this time.
0 commit comments