mirror of https://github.com/subgraph/fw-daemon
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
696 B
29 lines
696 B
9 years ago
|
// Copyright 2013, Örjan Persson. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
//+build windows plan9
|
||
|
|
||
|
package logging
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
type Priority int
|
||
|
|
||
|
type SyslogBackend struct {
|
||
|
}
|
||
|
|
||
|
func NewSyslogBackend(prefix string) (b *SyslogBackend, err error) {
|
||
|
return nil, fmt.Errorf("Platform does not support syslog")
|
||
|
}
|
||
|
|
||
|
func NewSyslogBackendPriority(prefix string, priority Priority) (b *SyslogBackend, err error) {
|
||
|
return nil, fmt.Errorf("Platform does not support syslog")
|
||
|
}
|
||
|
|
||
|
func (b *SyslogBackend) Log(level Level, calldepth int, rec *Record) error {
|
||
|
return fmt.Errorf("Platform does not support syslog")
|
||
|
}
|