log

package
v0.0.0-...-73d3301 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package log is a centralized log of the Shelter system

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger *log.Logger // Main object used to control log messages

)

Functions

func Close

func Close()

Close the log file and finish the logger

func Debug

func Debug(v ...interface{})

Debug basic log packages methods now writing to our local logger. If logger is not initialized we fallback to the standard log system

func Debugf

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

Debugf basic log packages methods now writing to our local logger. If logger is not initialized we fallback to the standard log system

func Info

func Info(v ...interface{})

Info basic log packages methods now writing to our local logger. If logger is not initialized we fallback to the standard log system

func Infof

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

Infof basic log packages methods now writing to our local logger. If logger is not initialized we fallback to the standard log system

func Printf

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

Printf basic log packages methods now writing to our local logger. If logger is not initialized we fallback to the standard log system

func Println

func Println(v ...interface{})

Println basic log packages methods now writing to our local logger. If logger is not initialized we fallback to the standard log system

func SetOutput

func SetOutput(filename string) error

SetOutput function responsible for creating the log file and initializing the main object responsible for logging

Types

This section is empty.

Jump to

Keyboard shortcuts

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