Skip to content

Commit a0dea8a

Browse files
committed
no need to disable twice
1 parent a4fb40a commit a0dea8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tablewriter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ func (t *Table) Footer(elements ...any) {
410410
func (t *Table) Options(opts ...Option) *Table {
411411
// add logger
412412
if t.logger == nil {
413-
t.logger = ll.New("table").Handler(lh.NewTextHandler(t.trace)).Disable()
413+
t.logger = ll.New("table").Handler(lh.NewTextHandler(t.trace))
414414
}
415415

416416
// Disable and suspend the logger before applying options to prevent premature

0 commit comments

Comments
 (0)