(p []byte)
| 184 | } |
| 185 | |
| 186 | func (f *FatalWriter) Write(p []byte) (n int, err error) { |
| 187 | logrus.Error(string(p)) |
| 188 | if !logrusToStderr() { |
| 189 | return f.cliErrWriter.Write(p) |
| 190 | } |
| 191 | return len(p), nil |
| 192 | } |
| 193 | |
| 194 | func configLogrus(context *cli.Context) error { |
| 195 | if context.GlobalBool("debug") { |