fdk_logging_function

package module
v0.0.0-...-161da2e Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

fdk-logging-function

A function to mediate logging from e.g. frontend web clients

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CspReport

type CspReport struct {
	BlockedUri         string `json:"blocked-uri"`
	Disposition        string `json:"disposition"`
	DocumentUri        string `json:"document-uri"`
	EffectiveDirective string `json:"effective-directive"`
	OriginalPolicy     string `json:"original-policy"`
	Referrer           string `json:"referrer"`
	ScriptSample       string `json:"script-sample"`
	StatusCode         int    `json:"status-code"`
	ViolatedDirective  string `json:"violated-directive"`
}

type CspReportLogEntry

type CspReportLogEntry struct {
	CspReport CspReport `json:"csp-report"`
}

func (CspReportLogEntry) String

func (e CspReportLogEntry) String() string

type ErrorLogEntry

type ErrorLogEntry struct {
	Message     string `json:"message"`
	Severity    string `json:"severity"`
	Namespace   string `json:"namespace"`
	Trace       string `json:"trace"`
	Name        string `json:"name"`
	Location    string `json:"location"`
	Application string `json:"application"`
	Image       string `json:"image"`
}

func (ErrorLogEntry) String

func (e ErrorLogEntry) String() string

Jump to

Keyboard shortcuts

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