INNER CODE UNIT · Go

func

resgateio/resgate · logger/memlogger.go:30

func (l *MemLogger) Log(s string) {
	l.mu.Lock()
	l.log.Print("[INF] ", s)
	l.mu.Unlock()
}

// Error writes an error entry
func (l *MemLogger) Error(s string) {
	l.mu.Lock()
	l.log.Print("[ERR] ", s)
	l.mu.Unlock()
}

// Debug writes a debug entry
func (l *MemLogger) Debug(s string) {
	l.mu.Lock()
	l.log.Print("[DBG] ", s)
	l.mu.Unlock()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…