Set sets the level for the flag.Value interface.
(s string)
| 201 | |
| 202 | // Set sets the level for the flag.Value interface. |
| 203 | func (l *Level) Set(s string) error { |
| 204 | return l.UnmarshalText([]byte(s)) |
| 205 | } |
| 206 | |
| 207 | // Get gets the level for the flag.Getter interface. |
| 208 | func (l *Level) Get() interface{} { |