Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
23268b78
authored
2015-04-13 10:33:57 +0800
by
wuranbo
Committed by
astaxie
2015-05-25 09:10:36 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*feature) 增加logcalldepth接口,使得能简单再次封装log系列函数。
1 parent
ee4fd60e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
logs/log.go
logs/log.go
View file @
23268b7
...
...
@@ -181,6 +181,11 @@ func (bl *BeeLogger) SetLogFuncCallDepth(d int) {
bl
.
loggerFuncCallDepth
=
d
}
// get log funcCallDepth for wrapper
func
(
bl
*
BeeLogger
)
GetLogFuncCallDepth
()
int
{
return
bl
.
loggerFuncCallDepth
}
// enable log funcCallDepth
func
(
bl
*
BeeLogger
)
EnableFuncCallDepth
(
b
bool
)
{
bl
.
enableFuncCallDepth
=
b
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment