Make logger webhook config dynamic (#14289)

It should not be required to restart the 
server after setting the logger webhook config.
This commit is contained in:
Shireesh Anjal
2022-02-18 00:41:15 +05:30
committed by GitHub
parent b29224f62f
commit 28f188e3ef
7 changed files with 136 additions and 54 deletions

View File

@@ -197,6 +197,10 @@ func (h *Target) Init() error {
return nil
}
// Cancel - cancels the target
func (h *Target) Cancel() {
}
// New initializes a new logger target which
// sends log over http to the specified endpoint
func New(config Config) *Target {