Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
b53d5d1d
Commit
b53d5d1d
authored
Apr 16, 2020
by
zhenghuangkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix log output issue
parent
a8b900ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
common/utils/LOG/log.c
common/utils/LOG/log.c
+2
-0
No files found.
common/utils/LOG/log.c
View file @
b53d5d1d
...
@@ -474,6 +474,7 @@ void logRecord_mt(const char *file, const char *func, int line, int comp, int le
...
@@ -474,6 +474,7 @@ void logRecord_mt(const char *file, const char *func, int line, int comp, int le
}
else
{
}
else
{
log_header
(
log_buffer
,
MAX_LOG_TOTAL
,
comp
,
level
,
format
);
log_header
(
log_buffer
,
MAX_LOG_TOTAL
,
comp
,
level
,
format
);
g_log
->
log_component
[
comp
].
vprint
(
g_log
->
log_component
[
comp
].
stream
,
log_buffer
,
args
);
g_log
->
log_component
[
comp
].
vprint
(
g_log
->
log_component
[
comp
].
stream
,
log_buffer
,
args
);
fflush
(
g_log
->
log_component
[
comp
].
stream
);
}
}
va_end
(
args
);
va_end
(
args
);
}
}
...
@@ -485,6 +486,7 @@ void vlogRecord_mt(const char *file, const char *func, int line, int comp, int l
...
@@ -485,6 +486,7 @@ void vlogRecord_mt(const char *file, const char *func, int line, int comp, int l
}
else
{
}
else
{
log_header
(
log_buffer
,
MAX_LOG_TOTAL
,
comp
,
level
,
format
);
log_header
(
log_buffer
,
MAX_LOG_TOTAL
,
comp
,
level
,
format
);
g_log
->
log_component
[
comp
].
vprint
(
g_log
->
log_component
[
comp
].
stream
,
log_buffer
,
args
);
g_log
->
log_component
[
comp
].
vprint
(
g_log
->
log_component
[
comp
].
stream
,
log_buffer
,
args
);
fflush
(
g_log
->
log_component
[
comp
].
stream
);
}
}
}
}
...
...
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