logger

package
v0.0.0-...-72b4c0b Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogRequest

func LogRequest(p InputRequest)

Types

type InputRequest

type InputRequest struct {
	Message    *string       `json:"message,omitempty"`
	Additional []interface{} `json:"additional,omitempty"`
	Level      *string       `json:"level,omitempty"`
	Timestamp  *string       `json:"timestamp,omitempty"`
	FileName   *string       `json:"fileName,omitempty"`
	LineNumber *string       `json:"lineNumber,omitempty"`
}

func UnmarshalInputRequest

func UnmarshalInputRequest(data []byte) (InputRequest, error)

func (*InputRequest) Marshal

func (r *InputRequest) Marshal() ([]byte, error)

Jump to

Keyboard shortcuts

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