package
0.0.0-20240422055920-45587e970dda
Repository: https://github.com/rabbit-rm/rabbit.git
Documentation: pkg.go.dev

# Functions

Capture 捕获指定 Depth 的堆栈跟踪,跳过提供的帧数。 skip = 0 标识捕获的调用方.
NewFormatter builds a new Formatter.
Take 返回当前 Stack 的字符串表示形式 skip 表示要跳过的帧数,skip=0 标识 跳过 Take.

# Constants

First 捕获第一帧.
Full 捕获所有帧.

# Structs

Formatter formats a stack trace into a readable string representation.
Stack 捕获堆栈信息.

# Type aliases

Depth 指定应捕获堆栈的深度.