logger

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

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

Logger.

func New

func New(conn *server.Connection) *Log

Initialise a logger.

func (*Log) Clear

func (l *Log) Clear() bool

Delete the log file from the server.

func (*Log) ParseLine

func (l *Log) ParseLine(line string) string

Parse a line from the log.

func (*Log) Read

func (l *Log) Read() (string, error)

func (*Log) Write

func (l *Log) Write(nrfiles int, branch, commit, message string) (string, error)

Write the log file in the server.

Jump to

Keyboard shortcuts

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