log_adapter.go
func (la *LogAdapter) Die(exitCode int, msg string) {
	la.Log(LevelFatal, nil, msg)
	la.base.ShutdownLoggers()
	curExiter.Exit(exitCode)
}
func (la *LogAdapter) Die(exitCode int, msg string) {
	la.Log(LevelFatal, nil, msg)
	la.base.ShutdownLoggers()
	curExiter.Exit(exitCode)
}
// Die will log a message using Fatal, call ShutdownLoggers and then exit the application with the provided exit code.