logger

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package logger provides the functionalities for logging actions of coconut server/client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger struct is self-explanatory

func New

func New(f string, level string, disable bool) (*Logger, error)

New returns new instance of logger

func (*Logger) GetLogger

func (l *Logger) GetLogger(module string) *logging.Logger

GetLogger returns a per-module logger that writes to the backend.

Jump to

Keyboard shortcuts

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