Golang之 runtime.Caller使用

一 写作背景

       在研究log包的源码的时候,看到这么一段代码:

func (l *Logger) Output(calldepth int, s string) error {
   
    
    
		...................
		......</

猜你喜欢

转载自blog.csdn.net/whq19890827/article/details/126919148
今日推荐