loginitex

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package loginitex provides external process-based log capture functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableExternalLogWrap

func DisableExternalLogWrap()

DisableExternalLogWrap stops the external log capture process and restores original file descriptors

func EnableExternalLogWrap

func EnableExternalLogWrap(appRunId string, config ds.LogProcessorConfig, isDev bool) error

EnableExternalLogWrap redirects stdout and stderr to an external outrig capturelogs process appRunId is the unique identifier for the application run config specifies which streams to wrap (stdout/stderr) isDev specifies whether to run the process in development mode

func IsExternalLogWrapActive

func IsExternalLogWrapActive() bool

IsExternalLogWrapActive returns whether external log wrapping is currently active

func OrigStderr

func OrigStderr() *os.File

OrigStderr returns the original stderr as an os.File

func OrigStdout

func OrigStdout() *os.File

OrigStdout returns the original stdout as an os.File

Types

This section is empty.

Jump to

Keyboard shortcuts

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