logs

package
v0.63.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Global *logrus.Entry

Global is a global logger that can be used anywhere in the app, for _development purposes only_. I want to avoid global variables when possible, so if you want to log something that's printed when the -debug flag is set, you'll need to ensure the struct you're working with has a logger field ( and most of them do). Global is only available if the LAZYGIT_LOG_PATH environment variable is set.

Functions

func NewDevelopmentLogger added in v0.39.0

func NewDevelopmentLogger(logPath string) *logrus.Entry

func NewProductionLogger added in v0.39.0

func NewProductionLogger() *logrus.Entry

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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