Skip to content

Comments

Make query logging more extensible#449

Open
tot-ra wants to merge 1 commit intogo-gorp:mainfrom
tot-ra:patch-1
Open

Make query logging more extensible#449
tot-ra wants to merge 1 commit intogo-gorp:mainfrom
tot-ra:patch-1

Conversation

@tot-ra
Copy link

@tot-ra tot-ra commented Sep 21, 2023

My use-case is that I want to replace placeholders with specific data. If you set custom logger, currently the problem is that logger receives injected data as a string. This is not very interoperable. I don't want to deal with all possible types by parsing stringified arguments.

This PR passes original arguments to the logger

My use-case is that I want to replace placeholders with specific data. If you set custom logger, currently the problem is that logger receives injected data as a string. This is not very interoperable. I don't want to deal with all possible types by parsing stringified arguments. 

This PR passes original arguments to the logger
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.

1 participant