Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
734b2b2f
Commit
734b2b2f
authored
Feb 26, 2015
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(uniset-codegen): Исправил макросы вывода в лог (myxxx). Чтобы выводили
в соответствующий уровень, а не в "any".
parent
2b46cbe5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
ctl-cpp-common.xsl
Utilities/codegen/ctl-cpp-common.xsl
+12
-12
No files found.
Utilities/codegen/ctl-cpp-common.xsl
View file @
734b2b2f
...
...
@@ -175,18 +175,18 @@
void init_dlog( std::shared_ptr
<
DebugStream
>
d );
// "синтаксический сахар"..для логов
#define myinfo if( mylog->debugging(Debug::INFO) ) mylog->
any
()
#define mywarn if( mylog->debugging(Debug::WARN) ) mylog->
any
()
#define mycrit if( mylog->debugging(Debug::CRIT) ) mylog->
any
()
#define mylog1 if( mylog->debugging(Debug::LEVEL1) ) mylog->
any
()
#define mylog2 if( mylog->debugging(Debug::LEVEL2) ) mylog->
any
()
#define mylog3 if( mylog->debugging(Debug::LEVEL3) ) mylog->
any
()
#define mylog4 if( mylog->debugging(Debug::LEVEL4) ) mylog->
any
()
#define mylog5 if( mylog->debugging(Debug::LEVEL5) ) mylog->
any
()
#define mylog6 if( mylog->debugging(Debug::LEVEL6) ) mylog->
any
()
#define mylog7 if( mylog->debugging(Debug::LEVEL7) ) mylog->
any
()
#define mylog8 if( mylog->debugging(Debug::LEVEL8) ) mylog->
any
()
#define mylog9 if( mylog->debugging(Debug::LEVEL9) ) mylog->
any
()
#define myinfo if( mylog->debugging(Debug::INFO) ) mylog->
info
()
#define mywarn if( mylog->debugging(Debug::WARN) ) mylog->
warn
()
#define mycrit if( mylog->debugging(Debug::CRIT) ) mylog->
crit
()
#define mylog1 if( mylog->debugging(Debug::LEVEL1) ) mylog->
level1
()
#define mylog2 if( mylog->debugging(Debug::LEVEL2) ) mylog->
level2
()
#define mylog3 if( mylog->debugging(Debug::LEVEL3) ) mylog->
level3
()
#define mylog4 if( mylog->debugging(Debug::LEVEL4) ) mylog->
level4
()
#define mylog5 if( mylog->debugging(Debug::LEVEL5) ) mylog->
level5
()
#define mylog6 if( mylog->debugging(Debug::LEVEL6) ) mylog->
level6
()
#define mylog7 if( mylog->debugging(Debug::LEVEL7) ) mylog->
level7
()
#define mylog8 if( mylog->debugging(Debug::LEVEL8) ) mylog->
level8
()
#define mylog9 if( mylog->debugging(Debug::LEVEL9) ) mylog->
level9
()
#define mylogany mylog->any()
</xsl:template>
...
...
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