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
ddbfc25e
authored
2014-10-28 19:34:11 +0800
by
astaxie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix the log test
1 parent
1f268526
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
logs/console_test.go
logs/console_test.go
View file @
ddbfc25
...
...
@@ -34,7 +34,6 @@ func testConsoleCalls(bl *BeeLogger) {
// without a log level specification.
func
TestConsole
(
t
*
testing
.
T
)
{
log1
:=
NewLogger
(
10000
)
log1
.
EnableFuncCallDepth
(
true
)
log1
.
SetLogger
(
"console"
,
""
)
testConsoleCalls
(
log1
)
...
...
@@ -45,7 +44,6 @@ func TestConsole(t *testing.T) {
func
BenchmarkConsole
(
b
*
testing
.
B
)
{
log
:=
NewLogger
(
10000
)
log
.
EnableFuncCallDepth
(
true
)
log
.
SetLogger
(
"console"
,
""
)
for
i
:=
0
;
i
<
b
.
N
;
i
++
{
log
.
Debug
(
"debug"
)
...
...
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