logging

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package loggingRedirect - Creates a log file the redirects STD output.

Index

Constants

View Source
const BUFFER_SIZE = 1024

Variables

This section is empty.

Functions

func Forward

func Forward(ctx context.Context, sendFunc func([]byte, error) error, recFunc func() ([]byte, error)) error

func ReceiveFile

func ReceiveFile(ctx context.Context, filename string, recFunc func() ([]byte, error)) error

func RedirectStdErr

func RedirectStdErr(file *os.File)

func RestoreOutput

func RestoreOutput()

RestoreOutput

func StartRedirectingOutput

func StartRedirectingOutput(logFileAbsolutePath string, logFileName string) error

StartRedirectingOutput

func UploadFile

func UploadFile(ctx context.Context, filename string, sendFunc func([]byte, error) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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