log

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error, topic string) error

CheckError is a helper function to reduce repetition of error checking blocks of code

func Init

func Init(filePath string)

Init will be called by sms.go before any other packages use it

func WriteError

func WriteError(msg string)

WriteError writes output to the writer we have defined during its creation with ERROR prefix

func WriteInfo

func WriteInfo(msg string)

WriteInfo writes output to the writer we have defined during its creation with INFO prefix

func WriteWarn

func WriteWarn(msg string)

WriteWarn writes output to the writer we have defined during its creation with WARNING prefix

Types

This section is empty.

Jump to

Keyboard shortcuts

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