loggerx

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package loggerx provides logging functions to the rest of the syspolicy packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, args ...any)

Errorf formats and writes an error message to the log.

func SetForTest

func SetForTest(tb internal.TB, errorf, verbosef logger.Logf)

SetForTest sets the specified errorf and verbosef functions for the duration of tb and its subtests.

func Verbosef

func Verbosef(format string, args ...any)

Verbosef formats and writes an optional, verbose message to the log.

Types

This section is empty.

Jump to

Keyboard shortcuts

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