remotelogger

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level logging.Level, remoteConfigURL string, loggerFetchInterval time.Duration) logging.Logger

New creates a new RemoteLogger instance with the provided level, remote configuration URL, and level fetch interval. The remote configuration URL is expected to be a JSON endpoint that returns the desired log level for the service. The level fetch interval determines how often the logger checks for updates to the remote configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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