func (e *Error) Int8(label string, value int8) *Error {
	return e.Int64(label, int64(value))
}
Int8 appends a labeled int8 value to Error.
package ltsvlog
import (
	"fmt"
	"io"
	"path/filepath"
	"runtime"
	"strconv"
	"strings"
	"time"
)
type Error struct {
	error
	originalErr error
	buf         []byte
}
func Err(err error) *Error {
	return &Error{
		error:       err,
		originalErr: err,
		buf:         make([]byte, 0, 8192),
	}
}
func WrapErr(err error, wrapper func(err error) error) *Error {
	e, ok := err.(*Error)
	if !ok {
		e = Err(err)
	}
	if wrapper != nil {
		e.error = wrapper(e.error)
	}
	return e
}
func (e *Error) Stack(label string) *Error {
	e.buf = append(e.buf, '\t')
	if label == "" {
		label = "stack"
	}
	e.buf = append(e.buf, label...)
	e.buf = append(e.buf, ':')
	e.buf = appendStack(e.buf, 2)
	return e
}
func (e *Error) String(label string, value string) *Error {
	e.buf = append(e.buf, '\t')
	e.buf = append(e.buf, label...)
	e.buf = append(e.buf, ':')
	e.buf = append(e.buf, escape(value)...)
	return e
}
func (e *Error) Stringer(label string, value fmt.Stringer) *Error {
	e.buf = append(e.buf, '\t')
	e.buf = append(e.buf, label...)
	e.buf = append(e.buf, ':')
	e.buf = append(e.buf, escape(value.String())...)
	return e
}
func (e *Error) Byte(label string, value byte) *Error {
	e.buf = append(e.buf, '\t')
	e.buf = append(e.buf, label...)
	e.buf = append(e.buf, ':')
	e.buf = appendHexByte(e.buf, value)
	return e
}
func (e *Error) Bytes(label string, value []byte) *Error {
	e.buf = append(e.buf, '\t')
	e.buf = append(e.buf, label...)
	e.buf = append(e.buf, ':')
	e.buf = appendHexBytes(e.buf, value)
	return e
}
func (e *Error) Fmt(label, format string, a ...interface{}) *Error {
	e.buf = append(e.buf, '\t')
	e.buf = append(e.buf, label...)
	e.buf = append(e.buf, ':')
	e.buf = append(e.buf, escape(fmt.Sprintf(format, a...))...)
	return e
}
func (e *Error) Sprintf(label, format string, a ...interface{}) *Error {
	e.buf = append(e.buf, '\t')
	e.buf = append(e.buf, label...)
	e.buf = append(e.buf, ':')
	e.buf = append(e.buf, escape(fmt.Sprintf(format, a...))...)
	return e
}
func (e *Error) Bool(label string, value bool) *Error {
	e.buf = append(e.buf, '\t')
	e.buf = append(e.buf, label...)
	e.buf = append(e.buf, ':')
	e.buf = strconv.AppendBool(e.buf, value)
	return e
}
func (e *Error) Int(label string, value int) *Error {
	return e.Int64(label, int64(value))
}