MCPcopy Create free account
hub / github.com/astercloud/aster / Log

Method Log

pkg/logging/logging.go:36–36  ·  view source on GitHub ↗

Log 写入一条日志记录

(ctx context.Context, rec *LogRecord)

Source from the content-addressed store, hash-verified

34 Name() string
35 // Log 写入一条日志记录
36 Log(ctx context.Context, rec *LogRecord) error
37 // Flush 刷新缓冲(如果有)
38 Flush(ctx context.Context) error
39}

Implementers 2

StdoutTransportpkg/logging/logging.go
FileTransportpkg/logging/logging.go

Calls

no outgoing calls