WithPrefix adds a custom prefix to the printer.
(prefix Prefix)
| 99 | |
| 100 | // WithPrefix adds a custom prefix to the printer. |
| 101 | func (p PrefixPrinter) WithPrefix(prefix Prefix) *PrefixPrinter { |
| 102 | p.Prefix = prefix |
| 103 | return &p |
| 104 | } |
| 105 | |
| 106 | // WithScope adds a scope to the Prefix. |
| 107 | func (p PrefixPrinter) WithScope(scope Scope) *PrefixPrinter { |
no outgoing calls