Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmcoupon-linux
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李定达
fmcoupon-linux
Commits
ad3c22a2
Commit
ad3c22a2
authored
Jun 11, 2020
by
xiaojing.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
7a4bf703
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
main.cpp
+1
-1
No files found.
main.cpp
View file @
ad3c22a2
...
@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
...
@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
QsLogging
::
Logger
&
logger
=
QsLogging
::
Logger
::
instance
();
QsLogging
::
Logger
&
logger
=
QsLogging
::
Logger
::
instance
();
logger
.
setLoggingLevel
(
QsLogging
::
TraceLevel
);
logger
.
setLoggingLevel
(
QsLogging
::
TraceLevel
);
QString
logPath
=
QString
(
"%1/%2"
).
arg
(
logDir
,
"fmco
n
pon.log"
);
QString
logPath
=
QString
(
"%1/%2"
).
arg
(
logDir
,
"fmco
u
pon.log"
);
QsLogging
::
DestinationPtr
fileDst
(
QsLogging
::
DestinationFactory
::
MakeFileDestination
(
QsLogging
::
DestinationPtr
fileDst
(
QsLogging
::
DestinationFactory
::
MakeFileDestination
(
logPath
,
QsLogging
::
EnableLogRotation
,
QsLogging
::
MaxSizeBytes
(
2
*
1024
*
1024
),
QsLogging
::
MaxOldLogCount
(
10
)));
logPath
,
QsLogging
::
EnableLogRotation
,
QsLogging
::
MaxSizeBytes
(
2
*
1024
*
1024
),
QsLogging
::
MaxOldLogCount
(
10
)));
logger
.
addDestination
(
fileDst
);
logger
.
addDestination
(
fileDst
);
...
...
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