MCPcopy Create free account
hub / github.com/MG-RAST/Shock / Initialize

Function Initialize

shock-server/logger/logger.go:27–30  ·  view source on GitHub ↗

Initialialize sets up package var Log for use in Info(), Error(), and Perf()

()

Source from the content-addressed store, hash-verified

25
26// Initialialize sets up package var Log for use in Info(), Error(), and Perf()
27func Initialize() {
28 Log = New()
29 go Log.Handle()
30}
31
32// Info is a short cut function that uses package initialized logger
33func Info(message string) {

Callers

nothing calls this directly

Calls 2

NewFunction · 0.70
HandleMethod · 0.45

Tested by

no test coverage detected