MCPcopy
hub / github.com/SpecterOps/BloodHound / Warn

Method Warn

cmd/api/src/database/log.go:45–47  ·  view source on GitHub ↗
(ctx context.Context, msg string, data ...any)

Source from the content-addressed store, hash-verified

43}
44
45func (s *GormLogAdapter) Warn(ctx context.Context, msg string, data ...any) {
46 slog.WarnContext(ctx, fmt.Sprintf(msg, data...)) //nolint:sloglint // Gorm logger interface requires format string
47}
48
49func (s *GormLogAdapter) Error(ctx context.Context, msg string, data ...any) {
50 slog.ErrorContext(ctx, fmt.Sprintf(msg, data...)) //nolint:sloglint // Gorm logger interface requires format string

Callers 15

ParseDomainTrustsFunction · 0.80
getServicePrincipalAppIDFunction · 0.80
roleDescentFilterFunction · 0.80
getFICAppIDFunction · 0.80
PostEnrollOnBehalfOfFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected