d69fd6af22
* Add dedicated error logging writer * Document new errors to stdout flag * Update changelog * Thread-safe the log buffer * Address feedback * Remove duplication by adding log level * Clean up error formatting * Apply suggestions from code review Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
11 lines
268 B
Go
11 lines
268 B
Go
// +build !go1.3 plan9 solaris
|
|
|
|
package main
|
|
|
|
import "github.com/oauth2-proxy/oauth2-proxy/pkg/logger"
|
|
|
|
func WatchForUpdates(filename string, done <-chan bool, action func()) {
|
|
logger.Errorf("file watching not implemented on this platform")
|
|
go func() { <-done }()
|
|
}
|