Fix Logger interface.
This commit is contained in:
@@ -20,6 +20,8 @@ func (fl *File) Close() error {
|
||||
if fl.fe != nil {
|
||||
return fl.fe.Close()
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// NewFile creates a new Logger that writes all logs to the file
|
||||
|
||||
Reference in New Issue
Block a user