MCPcopy
hub / github.com/xo/dbtpl / logerror

Function logerror

_examples/django/sqlserver/dbtpl.dbtpl.go:20–23  ·  view source on GitHub ↗

logerror logs the error and returns it.

(err error)

Source from the content-addressed store, hash-verified

18
19// logerror logs the error and returns it.
20func logerror(err error) error {
21 errf("ERROR: %v", err)
22 return err
23}
24
25// Logf logs a message using the package logger.
26func Logf(s string, v ...any) {

Callers 15

InsertMethod · 0.70
UpdateMethod · 0.70
UpsertMethod · 0.70
DeleteMethod · 0.70
BookByBookIDFunction · 0.70
BooksByBooksAuthorIDFkeyFunction · 0.70
InsertMethod · 0.70
UpdateMethod · 0.70
UpsertMethod · 0.70
DeleteMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected