console

package
v0.0.0-...-d1e1776 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Target

type Target struct{}

Target implements loggerTarget to send log in plain or json format to the standard output.

func New

func New() *Target

New initializes a new logger target which prints log directly in the standard output.

func (*Target) Send

func (c *Target) Send(e interface{}, logKind string) error

Send log message 'e' to console

Jump to

Keyboard shortcuts

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