From c5b08f6d5a73e6ba84da84e804d05a8dd3d651be Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 6 Jul 2020 01:07:07 +0100 Subject: Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) * Make LogDescriptions race safe * Add manager commands for pausing, resuming, adding and removing loggers Signed-off-by: Andrew Thornton * Placate lint * Ensure that file logger is run! * Add support for smtp and conn Signed-off-by: Andrew Thornton * Add release-and-reopen Signed-off-by: Andrew Thornton Co-authored-by: techknowlogick Co-authored-by: Lauris BH --- integrations/testlogger.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'integrations') diff --git a/integrations/testlogger.go b/integrations/testlogger.go index 9636c4892e..f84ed47e4f 100644 --- a/integrations/testlogger.go +++ b/integrations/testlogger.go @@ -170,6 +170,11 @@ func (log *TestLogger) Init(config string) error { func (log *TestLogger) Flush() { } +//ReleaseReopen does nothing +func (log *TestLogger) ReleaseReopen() error { + return nil +} + // GetName returns the default name for this implementation func (log *TestLogger) GetName() string { return "test" -- cgit v1.2.3