(msg string, args ...interface{})
| 95 | } |
| 96 | |
| 97 | func (m *Messenger) Die(msg string, args ...interface{}) { |
| 98 | m.Err(msg, args...) |
| 99 | if m.PanicOnDie { |
| 100 | panic("trapped a Die() call") |
| 101 | } |
| 102 | os.Exit(m.eCode) |
| 103 | } |
| 104 | |
| 105 | func (m *Messenger) ExitCode(e int) int { |
| 106 | m.Lock() |
no test coverage detected