MCPcopy Index your code
hub / github.com/jetify-com/devbox / logger

Method logger

nix/command.go:271–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269}
270
271func (c *Cmd) logger() *slog.Logger {
272 if c.Logger == nil {
273 return slog.Default()
274 }
275 return c.Logger
276}
277
278// logRunFunc logs the start and exit of c.execCmd. It adjusts the source
279// attribute of the log record to point to the caller of c.CombinedOutput,

Callers 2

initExecCommandMethod · 0.95
logRunFuncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected