logBook

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: MIT Imports: 4 Imported by: 1

README

logBook: Log Book

Package logBook implements a log book. See GoDoc for details.

Documentation

Overview

Package logBook implements a log book.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogBook

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

func New

func New(logBook io.Writer) LogBook

func (LogBook) Record

func (b LogBook) Record(log []byte) error

Method Record () records the log on a new line, in the log book.

Example:

Nov 27, 2019 [UTC+0100 21:52:53]: hello world! An example.

Jump to

Keyboard shortcuts

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