Skip to content

A simple package for writing and viewing crash reports

License

Notifications You must be signed in to change notification settings

yehan2002/crashreport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrashReport

A Simple package for writing crash reports.

Usage

Creating crash reports

func LoadTexture(path string){
    err := TextureManager.Load(path)
    if err == nil{
      report := crashreport.Crash("Invalid texture loaded").Include(path)
      report.WriteTo("./crashreport.crash")
    }
}

Viewing crash reports

$crashreport -browser ./path/to/crash/file.zip