dbtestlog

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: MIT Imports: 2 Imported by: 0

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

func NewDisabledTestLogger() logger.Logger

NewDisabledTestLogger creates a disabled logger for integration tests. Used to reduce noise in tests that verify functionality without needing logs.

func NewTestLogger

func NewTestLogger() logger.Logger

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL