package
Version:
v0.0.0-...-936a01b
Opens a new window with list of versions in this module.
Published: Mar 21, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package logging contains implementation of various logging strategies.
Currently supported strategy includes logging into Splunk.
Client represents a Splunk client instance.
func NewClient(enabled bool, address, token, source, sourceType, index string) Client
NewClient creates a new instance of Splunk client.
Log add a new message into the Splunk log.
LogAction add a new message about performed action into the Splunk log.
LogTriggerAction add a new message about performed trigger-related action into the Splunk log.
LogWithTime add a new message with timestamp into the Splunk log.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.