dittodb icon indicating copy to clipboard operation
dittodb copied to clipboard

Overlap with dblog?

Open krlmlr opened this issue 3 years ago • 2 comments

URL: https://github.com/r-dbi/dblog

Blog post: https://www.r-dbi.org/blog/dbi-3-2/, section "Logging with the {dblog} package"

My package uses a different approach -- implementing a LoggingDBIDriver object that wraps another arbitrary DBIDriver object. So far it seems to work well.

I wonder if we should replace logging with custom callbacks that your package could register? That would expand dblog into a generic hooking mechanism. Or perhaps implement helpers that make it easier to wrap DBI backends?

krlmlr avatar Aug 27 '20 10:08 krlmlr