chore: Rename structs to be more clear.
This commit is contained in:
parent
0b6e40a944
commit
b30d8150f3
9 changed files with 136 additions and 126 deletions
|
@ -19,6 +19,10 @@ func (writer WriteLogger) Write(p []byte) (n int, err error) {
|
|||
logSplit := strings.Split(string(p), "\n")
|
||||
|
||||
for _, line := range logSplit {
|
||||
if line == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
if writer.UseError {
|
||||
log.Errorf("application: %s", line)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue