logging

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logging provides the hiboot starter for injectable logging dependency

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Properties

type Properties struct {
	Level       string   `json:"level" default:"info"`
	Status      bool     `json:"status" default:"true"`
	IP          bool     `json:"ip" default:"true"`
	Method      bool     `json:"method" default:"true"`
	Path        bool     `json:"path" default:"true"`
	Query       bool     `json:"query" default:"false"`
	Columns     bool     `json:"columns" default:"false"`
	ContextKeys []string `json:"context_keys" default:"logger_message"`
	HeaderKeys  []string `json:"header_keys" default:"User-Agent"`
}

Properties is the logging properties

Jump to

Keyboard shortcuts

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