Feat: format-servers CLI command

This commit is contained in:
Quentin McGaw (desktop)
2021-09-23 13:13:17 +00:00
parent c22e0e9db7
commit 03ba9169f4
6 changed files with 440 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package cli
import "github.com/qdm12/golibs/logging"
type noopLogger struct{}
func newNoopLogger() *noopLogger {
return new(noopLogger)
}
func (l *noopLogger) Debug(s string) {}
func (l *noopLogger) Info(s string) {}
func (l *noopLogger) Warn(s string) {}
func (l *noopLogger) Error(s string) {}
func (l *noopLogger) PatchLevel(level logging.Level) {}
func (l *noopLogger) PatchPrefix(prefix string) {}