logf

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package logf is a human friendly log formatter.

It is ideal for a development environment where log lines are almost exlusively consumed by developers

Index

Constants

View Source
const Name = "logf"

Variables

This section is empty.

Functions

func New

func New(c map[string]string) (log.Formatter, error)

Types

type Formatter

type Formatter struct{}

func (*Formatter) Format

func (f *Formatter) Format(ctx *log.Ctx, tag, msg string, fields ...log.Field) (string, error)

Jump to

Keyboard shortcuts

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