Documentation ¶
Index ¶
- Constants
- type Debug
- func (d Debug) MoreTo() string
- func (d Debug) String() string
- func (d Debug) WithDetail(detail string) Debug
- func (d Debug) WithDetailFormat(format string, a ...interface{}) Debug
- func (d Debug) WithError(er error) Debug
- func (d Debug) WithLevel(l Level) Debug
- func (d Debug) WithMore(more string) Debug
- func (d Debug) WithMoreFormat(more string, a ...interface{}) Debug
- func (d Debug) WithStack() Debug
- func (d Debug) WithTitle(title string) Debug
- type Level
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debug ¶
type Debug struct { Code int32 Title string Name string //服务模板名称 Detail string //简单描述 Stack string //调用堆栈 More string //更多 Level Level //级别(严重程度) Error error }
func (Debug) WithDetail ¶ added in v0.1.2
func (Debug) WithDetailFormat ¶ added in v1.4.4
func (Debug) WithMoreFormat ¶ added in v1.4.4
Click to show internal directories.
Click to hide internal directories.