console

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package console implements the log.Interface. All operations are using a sync.RWMutex for synchronization.

Check the console.Options for the available configurations.

Benchmark file is available.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options Options) (logger.Interface, error)

New creates a console log provider with the given options.

Types

type Options

type Options struct {
	// adding some highlights to the console
	Color bool
}

Options of the console log provider.

Jump to

Keyboard shortcuts

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