MCPcopy Index your code
hub / github.com/cloudfoundry/lager

github.com/cloudfoundry/lager @v3.76.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.76.0 ↗ · + Follow
173 symbols 473 edges 41 files 39 documented · 23% 2 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

lager

Go Report
Card Go
Reference

Lager is a logging library for go

[!NOTE]

This repository should be imported as code.cloudfoundry.org/lager/v3.

Docs

Contributing

See the Contributing.md for more information on how to contribute.

Working Group Charter

This repository is maintained by App Runtime Platform under Diego area.

[!IMPORTANT]

Content in this file is managed by the CI task sync-readme and is generated by CI following a convention.

Extension points exported contracts — how you extend this code

Sink (Interface)
A Sink represents a write destination for a Logger. It provides a thread-safe interface for writing logs [7 implementers]
writer_sink.go
Logger (Interface)
(no doc) [2 implementers]
logger.go

Core symbols most depended-on inside this repo

Logs
called by 63
lagertest/test_sink.go
Log
called by 32
writer_sink.go
Info
called by 30
logger.go
Error
called by 19
logger.go
Value
called by 18
internal/truncate/truncate.go
Debug
called by 9
logger.go
RegisterSink
called by 8
logger.go
Session
called by 8
logger.go

Shape

Function 70
Method 69
Struct 26
TypeAlias 5
Interface 2
FuncType 1

Languages

Go100%

Modules by API surface

logger.go23 symbols
lagerctx/context.go15 symbols
handler.go14 symbols
models.go13 symbols
internal/truncate/truncate.go11 symbols
chug/chug.go10 symbols
writer_sink_test.go9 symbols
lagertest/test_sink.go9 symbols
writer_sink.go8 symbols
lagerflags/lagerflags.go8 symbols
json_redacter.go8 symbols
lagerflags/timeformat.go6 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add lager \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact