mirror of https://github.com/sirupsen/logrus.git
1. merge conflict update
This commit is contained in:
parent
804b9126c5
commit
d5e8a4f452
|
@ -377,11 +377,6 @@ func (logger *Logger) Unlock() {
|
||||||
logger.mu.Unlock()
|
logger.mu.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (logger *Logger) SetOutput(out io.Writer) {
|
|
||||||
logger.mu.Lock()
|
|
||||||
defer logger.mu.Unlock()
|
|
||||||
logger.Out = out
|
|
||||||
}
|
|
||||||
|
|
||||||
// GetLevel returns the logger level.
|
// GetLevel returns the logger level.
|
||||||
func (logger *Logger) GetLevel() Level {
|
func (logger *Logger) GetLevel() Level {
|
||||||
|
|
Loading…
Reference in New Issue