Documentation
¶
Overview ¶
Package dbtestlog provides shared test-logger helpers for the database vendor packages. Extracted from byte-identical newTestLogger / newDisabledTestLogger pairs that previously lived in database/postgresql/testhelpers.go and database/oracle/testhelpers.go.
Visible only within the database/ subtree (internal/ boundary).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDisabledTestLogger ¶
NewDisabledTestLogger creates a disabled logger for integration tests. Used to reduce noise in tests that verify functionality without needing logs.
func NewTestLogger ¶
NewTestLogger creates a logger for database-vendor package tests. Uses debug level with pretty printing for better test output readability.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.