Documentation ¶
Overview ¶
Package loggingutil contains utility functions for logging.
Index ¶
- func SetAnalysisID(c context.Context, analysisID int64) context.Context
- func SetAnalyzedBBID(c context.Context, bbid int64) context.Context
- func SetProject(c context.Context, project string) context.Context
- func SetQueryBBID(c context.Context, bbid int64) context.Context
- func SetRerunBBID(c context.Context, rerunBBID int64) context.Context
- func UpdateLoggingWithAnalysisID(c context.Context, analysisID int64) (context.Context, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAnalysisID ¶
SetAnalysisID returns a context with the logging field analysis_id set
func SetAnalyzedBBID ¶
SetAnalyzedBBID returns a context with the logging field analyzed_bbid set
func SetProject ¶
SetProject returns a context with the logging field project set
func SetQueryBBID ¶
SetQueryBBID returns a context with the logging field query_bbid set
func SetRerunBBID ¶
SetRerunBBID returns a context with the logging field rerun_bbid set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.