log
package log
import log "chantico/internal/postmortem"
Index
Types
type ChanticoState
type ChanticoState struct { Error error File string Line int FunctionName string Stack string LoggedVariables []any }
func (*ChanticoState) Markdown
func (cs *ChanticoState) Markdown() string
type ClusterState
type ClusterState struct { CRDStates []any }
func (*ClusterState) Markdown
func (cs *ClusterState) Markdown() string
type Markdown
type Markdown interface { Markdown() }
type PostMortem
type PostMortem struct { Timestamp time.Time ClusterState ClusterState ChanticoState ChanticoState }
func NewPostMortem
func NewPostMortem(err error, args ...any) *PostMortem
func (*PostMortem) Markdown
func (pm *PostMortem) Markdown() string
func (*PostMortem) SaveAndQuit
func (pm *PostMortem) SaveAndQuit()