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.
Click to show internal directories.
Click to hide internal directories.