log

package
v1.48.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package log provides logging for rclone

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogging

func InitLogging()

InitLogging start the logging as per the command line flags

func Redirected

func Redirected() bool

Redirected returns true if the log has been redirected from stdout

func Trace

func Trace(o interface{}, format string, a ...interface{}) func(string, ...interface{})

Trace debugs the entry and exit of the calling function

It is designed to be used in a defer statement so it returns a function that logs the exit parameters.

Any pointers in the exit function will be dereferenced

Types

This section is empty.

Jump to

Keyboard shortcuts

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