Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zepeng Liu
OPC UA PubSub
Commits
14c9836b
Commit
14c9836b
authored
Jun 17, 2018
by
Patrick Bellot
Browse files
Merge branch 'linux32_ingopcs2' into linux64_ingopcs2
parents
e796417d
4a8b280b
Changes
1
Hide whitespace changes
Inline
Side-by-side
opcua/lib/Error/OpcUa_Debug.cpp
View file @
14c9836b
...
...
@@ -49,7 +49,7 @@ MYDLL const char * Debug::to_litteral(uint32_t log2flag)
case
3
:
return
"DEBUG"
;
// COM_DBG_DETAILED 0x00000008 /* Communication debug, very detailed */
case
4
:
return
"DEBUG"
;
// MEM_DBG 0x00000010 /* Memory debug */
case
5
:
return
"INFO"
;
// SERVER_DBG 0x00000020 /* Server debug */
case
6
:
return
"DEBUG"
;
// S
ER
_DBG
0x00000040 /* S
erialization
*/
case
6
:
return
"DEBUG"
;
// S
2OPC
_DBG 0x00000040 /* S
tack usage debug
*/
case
7
:
return
"INFO"
;
// PROC_INFO 0x00000080 /* Process info */
case
8
:
return
"INFO"
;
// DLL_DBG 0x00000100 /* DLL debugging */
case
9
:
return
"INFO"
;
// XML_DBG 0x00000200 /* XML debugging*/
...
...
@@ -59,22 +59,22 @@ MYDLL const char * Debug::to_litteral(uint32_t log2flag)
case
13
:
return
"DEBUG"
;
// ARRAY_DBG 0x00002000 /* Getting and setting array variable */
case
14
:
return
"INFO"
;
// MTH_DBG 0x00004000 /* Methods debugging */
case
15
:
return
"INFO"
;
// SUB_DBG 0x00008000 /* Subscription debugging */
case
16
:
return
"
INFO"
;
//
OCARI
0x00010000 /*
Ocari debugging
*/
case
16
:
return
"
FATAL"
;
//
S2OPC_ERR
0x00010000 /*
Stack usage error
*/
case
17
:
return
"WARNING"
;
// SEC_DBG 0x00020000 /* Security debugging */
case
18
:
return
"INFO"
;
// BRO_DBG 0x00040000 /* Browse debugging */
case
19
:
return
"INFO"
;
// CLIENT_DBG 0x00080000 /* Client bug */
case
20
:
return
"DEBUG"
;
// BYTE_DBG 0x00100000 /* for bytes display */
case
21
:
return
"
INFO
"
;
//
CTX_DBG 0x00200000 /* for contextual display */
case
21
:
return
"
UNKW
"
;
//
0x00200000
case
22
:
return
"DEBUG"
;
// HASH_DBG 0x00400000 /* debugging of hash table */
case
23
:
return
"
UNKN
"
;
case
24
:
return
"FATAL"
;
//
ROSA
_ERR 0x01000000 /*
Rosa error
*/
case
25
:
return
"
FATAL
"
;
//
ROSA_COM_ERR
0x02000000
/*
True error
*/
case
26
:
return
"DEBUG"
;
//
ROSA_COM_DETAILED
0x04000000 /*
Rosa Ser
ialization */
case
27
:
return
"
ERROR"
;
//
ROSA_SEND_ERR
0x0800000
0
/* Rosa sending message */
case
28
:
return
"
ERROR
"
;
//
ROSA_RECV_ERR 0x10000000 /* Rosa receiving message
*/
case
29
:
return
"
INFO"
;
//
ROSA_COM
0x20000000 /*
Communication rosa_debu
g */
case
30
:
return
"
INFO"
;
//
ROSA_SERVICE
0x40000000 /*
Get Service from ROSA
*/
case
31
:
return
"DEBUG"
;
//
ROSA_SER
0x80000000 /*
Rosa Serialization
*/
case
23
:
return
"
INFO
"
;
// BUG_DBG 0x00800000 /* Debugging great bugs */
case
24
:
return
"FATAL"
;
//
IPCS
_ERR 0x01000000 /*
Error in manipulating stack
*/
case
25
:
return
"
DEBUG
"
;
//
IPCS_DBG
0x02000000
/*
Debug in manipulating stack
*/
case
26
:
return
"DEBUG"
;
//
STATIC_DBG
0x04000000 /*
Static variable init
ialization */
case
27
:
return
"
UNKW"
;
// 0x0800000
case
28
:
return
"
DEBUG
"
;
//
BIN_DBG_DETAIL 0x10000000 /* Detailed debug of binary loading
*/
case
29
:
return
"
DEBUG"
;
//
BIN_DBG
0x20000000 /*
Debug of binary loadin
g */
case
30
:
return
"
DEBUG"
;
//
DISC_DBG
0x40000000 /*
Discovery debugging
*/
case
31
:
return
"DEBUG"
;
//
SESSION_DBG
0x80000000 /*
Session debugging
*/
default:
return
"UNDEF"
;
}
}
...
...
@@ -90,7 +90,7 @@ MYDLL const char * Debug::to_typology(uint32_t log2flag)
case
3
:
return
"COM_DBG_DETAILED"
;
// COM_DBG_DETAILED 0x00000008 /* Communication debug, very detailed */
case
4
:
return
"MEM_DBG"
;
// MEM_DBG 0x00000010 /* Memory debug */
case
5
:
return
"SERVER_DBG"
;
// SERVER_DBG 0x00000020 /* Server debug */
case
6
:
return
"S
ER
_DBG"
;
// SER_DBG 0x00000040 /* S
erialization
*/
case
6
:
return
"S
2OPC
_DBG"
;
// SER_DBG 0x00000040 /* S
tack usage debug
*/
case
7
:
return
"PROC_INFO"
;
// PROC_INFO 0x00000080 /* Process info */
case
8
:
return
"DLL_DBG"
;
// DLL_DBG 0x00000100 /* DLL debugging */
case
9
:
return
"XML_DBG"
;
// XML_DBG 0x00000200 /* XML debugging*/
...
...
@@ -100,22 +100,22 @@ MYDLL const char * Debug::to_typology(uint32_t log2flag)
case
13
:
return
"ARRAY_DBG"
;
// ARRAY_DBG 0x00002000 /* getting and setting array variable */
case
14
:
return
"MTH_DBG"
;
// MTH_DBG 0x00004000 /* Methods debugging */
case
15
:
return
"SUB_DBG"
;
// SUB_DBG 0x00008000 /* Subscription debugging */
case
16
:
return
"
OCARI"
;
//
OCARI
0x00010000 /*
Ocari debugging
*/
case
16
:
return
"
S2OPC_ERR"
;
//
S2OPC_ERR
0x00010000 /*
Stack usage error
*/
case
17
:
return
"SEC_DBG"
;
// SEC_DBG 0x00020000 /* Security debugging */
case
18
:
return
"BRO_DBG"
;
// BRO_DBG 0x00040000 /* Browse debugging */
case
19
:
return
"CLIENT_DBG"
;
// CLIENT_DBG 0x00080000 /* Client bug */
case
20
:
return
"BYTE_DBG"
;
// BYTE_DBG 0x00100000 /* for bytes display */
case
21
:
return
"
CTX_DBG
"
;
//
CTX_DBG
0x0020000
0
/* for contextual display */
case
21
:
return
"
UNKW
"
;
// 0x0020000
case
22
:
return
"HASH_DBG"
;
// HASH_DBG 0x00400000 /* debugging of hash table */
case
23
:
return
"
UNKN
"
;
case
24
:
return
"
ROSA
_ERR"
;
//
ROSA
_ERR 0x01000000 /*
Rosa error
*/
case
25
:
return
"
ROSA_COM_ERR"
;
//
ROSA_COM_ERR
0x02000000
/*
True error
*/
case
26
:
return
"
ROSA_COM_DETAILED"
;
// ROSA_COM_DETAILED 0x04000000 /* Rosa Ser
ialization */
case
27
:
return
"
ROSA_SEND_ERR"
;
// ROSA_SEND_ERR 0x08000000 /* Rosa sending message */
case
28
:
return
"
ROSA_RECV_ERR
"
;
//
ROSA_RECV_ERR
0x10000000 /*
Rosa receiving message
*/
case
29
:
return
"
ROSA_COM"
;
//
ROSA_COM
0x20000000 /*
Communication rosa_debu
g */
case
30
:
return
"
ROSA_SERVICE"
;
//
ROSA_SERVICE
0x40000000 /*
Get Service from ROSA
*/
case
31
:
return
"
ROSA_SER"
;
//
ROSA_SER
0x80000000 /*
Rosa Serialization
*/
case
23
:
return
"
BUG_DBG
"
;
// BUG_DBG 0x00800000 /* Debugging great bugs */
case
24
:
return
"
IPCS
_ERR"
;
//
IPCS
_ERR 0x01000000 /*
Error in manipulating stack
*/
case
25
:
return
"
IPCS_DBG"
;
//
IPCS_DBG
0x02000000
/*
Debug in manipulating stack
*/
case
26
:
return
"
STATIC_DBG"
;
// STATIC_DBG 0x04000000 /* Static variable init
ialization */
case
27
:
return
"
UNKW"
;
// 0x08000000
case
28
:
return
"
BIN_DBG_DETAIL
"
;
//
BIN_DBG_DETAIL
0x10000000 /*
Detailed debug of binary loading
*/
case
29
:
return
"
BIN_DBG"
;
//
BIN_DBG
0x20000000 /*
Debug of binary loadin
g */
case
30
:
return
"
DISC_DBG"
;
//
DISC_DBG
0x40000000 /*
Discovery debugging
*/
case
31
:
return
"
SESSION_DBG"
;
//
SESSION_DBG
0x80000000 /*
Session debugging
*/
default:
return
"UNDEF"
;
}
}
...
...
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