MCPcopy
hub / github.com/sirupsen/logrus

github.com/sirupsen/logrus @v1.9.4 sqlite

458 symbols 1,686 edges 48 files 132 documented

Extension points exported contracts — how you extend this code

Hook (Interface)
Hook describes hooks to be fired when logging on the logging levels returned from [Hook.Levels] on your implementation o [10 imple
hooks.go
StdLogger (Interface)
StdLogger is what your logrus-enabled library should take, that way it'll accept a stdlib logger ([log.Logger]) and a lo [2 implem
logrus.go
Formatter (Interface)
The Formatter interface is used to implement a custom Formatter. It takes an `Entry`. It exposes all the fields, includi [2 implem
formatter.go
BufferPool (Interface)
(no doc) [2 implementers]
buffer_pool.go
LogFunction (FuncType)
LogFunction For big messages, it can be more efficient to pass a function and only call it if the log level is actually
logger.go
FieldLogger (Interface)
FieldLogger extends the [StdLogger] interface, generalizing the [Entry] and [Logger] types. [2 implementers]
logrus.go
Ext1FieldLogger (Interface)
Ext1FieldLogger (the first extension to [FieldLogger]) is superfluous, it is here for consistency. Do not use. Use [Fiel [2 implem
logrus.go

Core symbols highest fan-in

IsLevelEnabled
called by 57
logger.go
Fatal
called by 46
logrus.go
Info
called by 46
logrus.go
New
called by 45
logger.go
String
called by 34
entry.go
Errorf
called by 33
logrus.go

Shape

Function 222
Method 201
Struct 20
TypeAlias 7
Interface 6
FuncType 2

Dependencies from manifests, versioned

github.com/davecgh/go-spewv1.1.1 · 1×
github.com/magefile/magev1.15.0 · 1×
github.com/pmezard/go-difflibv1.0.0 · 1×
github.com/stretchr/testifyv1.10.0 · 1×
golang.org/x/sysv0.13.0 · 1×
gopkg.in/yaml.v3v3.0.1 · 1×

For agents

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

⬇ download graph artifact