godock: github.com/sqp/godock/libs/log/crash Index | Files

package crash

import "github.com/sqp/godock/libs/log/crash"

Index

Package Files

crash.go

Variables

var Palette = stack.Palette{
    EOLReset:               color.Reset,
    RoutineFirst:           color.FgMagenta,
    CreatedBy:              color.FgCyan,
    Package:                color.Bright,
    SourceFile:             color.Reset,
    FunctionStdLib:         color.FgGreen,
    FunctionStdLibExported: color.FgGreen,
    FunctionMain:           color.FgYellow,
    FunctionOther:          color.FgRed,
    FunctionOtherExported:  color.FgRed,
    Arguments:              color.Reset,
}

Palette defines a color palette based on ANSI code.

func Parse Uses

func Parse(r interface{}, showCaller bool) string

Parse returns a shorter colored parsed crash message.

Package crash imports 7 packages (graph) and is imported by 1 packages. Updated 2017-11-25. Refresh now. Tools for package owners.