Clean up console log printing
This commit is contained in:
parent
c2bbe13ca7
commit
244cd7b9da
@ -37,11 +37,10 @@ func init() {
|
||||
}
|
||||
|
||||
func SendLog(entry string, entryType LogEntryType) {
|
||||
|
||||
logInput <- LogEntry{
|
||||
Timestamp: time.Now(),
|
||||
Entry: entry,
|
||||
Type: entryType,
|
||||
}
|
||||
log.Printf(entry)
|
||||
log.Printf("%6s: %s", entryType, entry)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user