logsendertest

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logsendertest provides testing utilities related to the logsender package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectLogStats

func ExpectLogStats(c *gc.C, writer *logsender.BufferedLogWriter, expect logsender.LogStats)

ExpectLogStats waits for the buffered log writer's statistics to match the expected value. This is provided because statistics are updated after log messages are handed off to the sink, and so tests must cater for the gap or races will occur.

Types

This section is empty.

Jump to

Keyboard shortcuts

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