all

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

README

fastlog/all

Import path: github.com/InsideGallery/core/fastlog/all

fastlog/all is a bundle import package. It imports every in-tree fastlog handler so their init functions register with github.com/InsideGallery/core/fastlog/handlers.

Main APIs

This package has no exported API. Use it for side effects:

package main

import _ "github.com/InsideGallery/core/fastlog/all"

Registered Handlers

In the default build, the bundle registers:

  • datadog
  • nop
  • otel
  • stderr

Build Tags

The default file is built with !fastlog_minimal. Building with -tags fastlog_minimal keeps the import path available but omits all handler imports, so no handlers are registered by this bundle.

Use this package when a binary should select any in-tree log output from LOG_OUTPUTS.

Documentation

Overview

Package all imports every in-tree fastlog handler so each handler registers with the default fastlog handler registry through its init hook.

Blank import this package when a binary should select any supported log output from configuration. Build with the fastlog_minimal tag to omit the bundle imports while keeping the import path available.

Jump to

Keyboard shortcuts

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