log

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Overview

Write to log file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	bridge.PdkBridge
}

Holds this module's functions. Accessible as `kong.Log`

func New

func New(ch chan interface{}) Log

Called by the plugin server at initialization.

func (Log) Alert

func (r Log) Alert(args ...interface{}) error

func (Log) Crit

func (r Log) Crit(args ...interface{}) error

func (Log) Debug

func (r Log) Debug(args ...interface{}) error

func (Log) Err

func (r Log) Err(args ...interface{}) error

func (Log) Info

func (r Log) Info(args ...interface{}) error

func (Log) Notice

func (r Log) Notice(args ...interface{}) error

func (Log) Serialize

func (r Log) Serialize() (s string, err error)

func (Log) Warn

func (r Log) Warn(args ...interface{}) error

Jump to

Keyboard shortcuts

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