Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4149da67
authored
Jan 22, 2024
by
罗志长
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去除日志
parent
14be8b10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
server-common/src/main/java/com/makeit/config/global/thread/wrapper/log/LogRunnableWrapper.java
server-common/src/main/java/com/makeit/config/global/thread/wrapper/log/LogRunnableWrapper.java
View file @
4149da67
...
@@ -33,8 +33,8 @@ public class LogRunnableWrapper implements Runnable {
...
@@ -33,8 +33,8 @@ public class LogRunnableWrapper implements Runnable {
CostTimeUtil
.
execute
(
task
,
(
e
,
c
)
->
{
CostTimeUtil
.
execute
(
task
,
(
e
,
c
)
->
{
logger
.
error
(
e
.
getMessage
(),
e
);
//这里可以不打印 重新丢出
logger
.
error
(
e
.
getMessage
(),
e
);
//这里可以不打印 重新丢出
},
c
->
{
},
c
->
{
logger
.
info
(
"async end"
);
//
logger.info("async end");
logger
.
info
(
"耗时:{} ms"
,
c
);
//
logger.info("耗时:{} ms", c);
});
});
}
}
...
...
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