...

Package util

import "github.com/hpcloud/tail/util"
Overview
Index

Overview ▾

Variables

var LOGGER = &Logger{log.New(os.Stderr, "", log.LstdFlags)}

func Fatal

func Fatal(format string, v ...interface{})

fatal is like panic except it displays only the current goroutine's stack.

func PartitionString

func PartitionString(s string, chunkSize int) []string

partitionString partitions the string into chunks of given size, with the last chunk of variable size.

type Logger

type Logger struct {
    *log.Logger
}