We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a98abd7 commit ac81c13Copy full SHA for ac81c13
sql/analyzer/analyzer.go
@@ -16,6 +16,7 @@ package analyzer
16
17
import (
18
"fmt"
19
+ "io"
20
"os"
21
"reflect"
22
"runtime/trace"
@@ -176,6 +177,10 @@ func (ab *Builder) RemoveAfterAllRule(id RuleId) *Builder {
176
177
178
var log = logrus.New()
179
180
+func SetOutput(w io.Writer) {
181
+ log.SetOutput(w)
182
+}
183
+
184
func init() {
185
// TODO: give the option for debug analyzer logging format to match the global one
186
log.SetFormatter(simpleLogFormatter{})
0 commit comments