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 NewProductionLogger ¶ added in v0.39.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.