Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
e51ad495
Commit
e51ad495
authored
Feb 20, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2fdfe403
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
wcfs/client/wcfs_misc.cpp
wcfs/client/wcfs_misc.cpp
+2
-0
No files found.
wcfs/client/wcfs_misc.cpp
View file @
e51ad495
...
...
@@ -266,6 +266,7 @@ void __Logf(const char *file, int line, char level, const char *format, ...) {
string
prefix
=
fmt
::
sprintf
(
"%c%s.%06d % 7d %s:%d] "
,
level
,
t_buf
,
t_us
,
tid
,
file
,
line
);
// XXX better to emit prefix and msg in one go.
flockfile
(
stderr
);
fprintf
(
stderr
,
"%s"
,
v
(
prefix
));
va_list
argp
;
...
...
@@ -274,6 +275,7 @@ void __Logf(const char *file, int line, char level, const char *format, ...) {
va_end
(
argp
);
fprintf
(
stderr
,
"
\n
"
);
funlockfile
(
stderr
);
}
}}
// golang::log::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment