mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(build): fixing windows build issue, #5370
This commit is contained in:
parent
46fe9a167e
commit
b039a81375
@ -14,7 +14,7 @@ install:
|
|||||||
- npm install
|
- npm install
|
||||||
- npm install -g grunt-cli
|
- npm install -g grunt-cli
|
||||||
# install gcc (needed for sqlite3)
|
# install gcc (needed for sqlite3)
|
||||||
- choco install -y mingw
|
- choco install -y mingw -limitoutput
|
||||||
- set PATH=C:\tools\mingw64\bin;%PATH%
|
- set PATH=C:\tools\mingw64\bin;%PATH%
|
||||||
- echo %PATH%
|
- echo %PATH%
|
||||||
- echo %GOPATH%
|
- echo %GOPATH%
|
||||||
|
20
pkg/log/syslog_windows.go
Normal file
20
pkg/log/syslog_windows.go
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
//+build windows
|
||||||
|
|
||||||
|
package log
|
||||||
|
|
||||||
|
import "github.com/inconshreveable/log15"
|
||||||
|
|
||||||
|
type SysLogHandler struct {
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewSyslog() *SysLogHandler {
|
||||||
|
return &SysLogHandler{}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (sw *SysLogHandler) Init() error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (sw *SysLogHandler) Log(r *log15.Record) error {
|
||||||
|
return nil
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user