WithScope adds a scope to the Prefix.
(scope Scope)
| 105 | |
| 106 | // WithScope adds a scope to the Prefix. |
| 107 | func (p PrefixPrinter) WithScope(scope Scope) *PrefixPrinter { |
| 108 | p.Scope = scope |
| 109 | return &p |
| 110 | } |
| 111 | |
| 112 | // WithMessageStyle adds a custom prefix to the printer. |
| 113 | func (p PrefixPrinter) WithMessageStyle(style *Style) *PrefixPrinter { |
no outgoing calls