logging

package
v0.0.0-...-65bda41 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check_if_regex_string_exists_in_log

func Check_if_regex_string_exists_in_log(log_path string, regex_string string) int

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

func Check_if_regex_string_exists_in_string

func Check_if_regex_string_exists_in_string(string_log string, regex_string string) int

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

func Get_command_log

func Get_command_log(linux_command *exec.Cmd) string

///////////////////////////////////////////////////////////////////////////////

func Get_log

func Get_log(path string) ([]byte, error)

///////////////////////////////////////////////////////////////////////////////

func Get_remaining_log

func Get_remaining_log(logpath string, log_position int) ([]byte, int, error)

///////////////////////////////////////////////////////////////////////////////

func Get_string_from_log

func Get_string_from_log(log_path string, regex_string string) string

///////////////////////////////////////////////////////////////////////////////

func Store_command_log

func Store_command_log(linux_command *exec.Cmd, log_path string)

///////////////////////////////////////////////////////////////////////////////

func Store_command_log_and_run

func Store_command_log_and_run(linux_command *exec.Cmd, log_path string)

///////////////////////////////////////////////////////////////////////////////

func Store_command_log_and_wait

func Store_command_log_and_wait(linux_command *exec.Cmd, log_path string)

///////////////////////////////////////////////////////////////////////////////

Types

type Empty

type Empty struct{}

///////////////////////////////////////////////////////////////////////////////

Jump to

Keyboard shortcuts

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