Add persistent logging: syslog for unix, file for windows (#6)
This commit is contained in:
10
persistentlog/unsupported.go
Normal file
10
persistentlog/unsupported.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// +build nacl,plan9
|
||||
|
||||
package persistentlog
|
||||
|
||||
import log "github.com/sirupsen/logrus"
|
||||
|
||||
// AddPersistentLogHook configures persisting logs, not supported on these systems
|
||||
func AddPersistentLogHook() {
|
||||
log.Warn("Persistent logging is not implemented on this OS")
|
||||
}
|
Reference in New Issue
Block a user