go重定向输出崩溃堆栈
go重定向输出崩溃堆栈 windows // +build windows package log import ( "os" "syscall" "github.com/sirupsen/logrus" ) var ( crashFile *os.File kern
go重定向输出崩溃堆栈 windows // +build windows package log import ( "os" "syscall" "github.com/sirupsen/logrus" ) var ( crashFile *os.File kern
Windows 生成dump文件 #ifdef _WIN32 #include <Windows.h> #include <Dbghelp.h> #pragma comment(lib,