Error terminates execution using unsuccessful execution exit code.
(format string, a ...interface{})
| 25 | |
| 26 | // Error terminates execution using unsuccessful execution exit code. |
| 27 | func Error(format string, a ...interface{}) { |
| 28 | flog.Errorf(format, a...) |
| 29 | os.Exit(CodeError) |
| 30 | } |
| 31 | |
| 32 | // OK terminates execution successfully. |
| 33 | func OK(format string, a ...interface{}) { |