diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2021-12-03 12:38:40 +0000 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2021-12-03 12:38:40 +0000 |
| commit | 34af565d7ecf9bb38cc378a915ac14a85af25fd2 (patch) | |
| tree | 06c633c6d2f094150b8a4c310f38cbfc2e37aa82 /internal/io/dlog/loggers/stdout.go | |
| parent | 554e21aee9cc66cafb7409fad4b0c5c3afd6302c (diff) | |
satisfy sonarqube
Diffstat (limited to 'internal/io/dlog/loggers/stdout.go')
| -rw-r--r-- | internal/io/dlog/loggers/stdout.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/internal/io/dlog/loggers/stdout.go b/internal/io/dlog/loggers/stdout.go index 0369ed7..ef30855 100644 --- a/internal/io/dlog/loggers/stdout.go +++ b/internal/io/dlog/loggers/stdout.go @@ -60,7 +60,13 @@ func (s *stdout) log(message string, nl bool) { func (s *stdout) Pause() { s.pauseCh <- struct{}{} } func (s *stdout) Resume() { s.resumeCh <- struct{}{} } -func (s *stdout) Flush() {} -func (s *stdout) Rotate() {} + +func (s *stdout) Flush() { + // This is empty because it isn't doing anything but has to satisfy the interface. +} + +func (s *stdout) Rotate() { + // This is empty because it isn't doing anything but has to satisfy the interface. +} func (stdout) SupportsColors() bool { return true } |
