cihub / seelog

Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting.
BSD 3-Clause "New" or "Revised" License
1.64k stars 244 forks source link

How to get stacktrace info by 'formats' config. #163

Closed timestee closed 5 years ago

timestee commented 6 years ago

We catch recovers from panic, then log to sentry and console by config 'formats'. With sentry we could get stack trace info, but with console output,how to get the stack trace info? I don't want to call runtime.Stack again, but just want to get it from seelog.