Skip to content

Commit a5fbf1d

Browse files
authored
fix: NoneLog should exclude printing message not include (#168)
1 parent 20ed655 commit a5fbf1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ func (o *OverflowState) CreateAccountsE(ctx context.Context) (*OverflowState, er
453453
messages = append(messages, "with flow:", fmt.Sprintf("%.2f", o.NewUserFlowAmount))
454454
}
455455

456-
if o.PrintOptions != nil && o.LogLevel == output.NoneLog {
456+
if o.PrintOptions != nil && o.LogLevel != output.NoneLog {
457457
fmt.Println(strings.Join(messages, " "))
458458
}
459459
}

0 commit comments

Comments
 (0)