mnabialek / laravel-sql-logger

Log SQL queries for Laravel/Lumen framework
MIT License
156 stars 24 forks source link

Questions: How and where can I add more information #15

Closed ocarlosapenas closed 6 years ago

ocarlosapenas commented 6 years ago

Great library has helped me a lot to debug my apps.

I would like to know where I can change the registry that is made to add some more information that I would like to appear in the log.

mnabialek commented 6 years ago

Do you have any idea what would you like to add to log? I could consider adding it to package.

ocarlosapenas commented 6 years ago

If a User is logged, print in the LOG the USER_ID or/and Email

mnabialek commented 6 years ago

Unfortunately I didn't find the way to add this information (I'm getting quite strange error). If I find the way, I will add this into package.

ocarlosapenas commented 6 years ago

I also got errors when adding Auth, always get error 500

Em dom, 9 de set de 2018 às 09:01, Marcin Nabiałek notifications@github.com escreveu:

Unfortunately I didn't find the way to add this information (I'm getting quite strange error). If I find the way, I will add this into package.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mnabialek/laravel-sql-logger/issues/15#issuecomment-419711072, or mute the thread https://github.com/notifications/unsubscribe-auth/AoCKyPbhS9yro5hAuy8S3nEoslxC4hnXks5uZQMcgaJpZM4WULlS .

mnabialek commented 6 years ago

I was playing with this a bit, but I think there is no reasonable way to do it at this moment or a lot of code has to be rewritten to make it possible. I'm closing this for now.