Package 'dblog'

Title: Logging for DBI
Description: Provides logging of DBI methods for arbitrary backends.
Authors: Kirill Müller [aut, cre]
Maintainer: Kirill Müller <[email protected]>
License: GPL-3
Version: 0.0.0.9026
Built: 2024-12-09 03:10:09 UTC
Source: https://github.com/r-dbi/dblog

Help Index


DBI methods

Description

Implementations of pure virtual functions defined in the DBI package.


dblog driver and connector

Description

TBD.

Usage

dblog(drv, logger = get_default_logger())

dblog_cnr(cnr, logger = get_default_logger())

Arguments

drv

Driver to be wrapped, object of class DBI::DBIDriver.

logger

Logger object, defaults to get_default_logger().

cnr

Connector to be wrapped, object of class DBI::DBIConnector.

Examples

## Not run: 
#' library(DBI)
Rdblog::dblog()

## End(Not run)

Logging parameters

Description

TBD.

Usage

get_default_logger()

make_text_logger(path = NULL)

make_collect_logger(display = FALSE)

Arguments

path

Passed on to cat() for the output. Default: console output.

display

⁠[logical(1)]⁠
Set to TRUE to display log entries in addition to writing to a file.