forked from blikblum/multilog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmultilog_user1.inc
56 lines (51 loc) · 1.36 KB
/
multilog_user1.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{%MainUnit multilog.pas}
{ Below is the list of the Logger ***meth***od's list to log: }
const
methInfo = 0;
methError = 1;
methWarning = 2;
methValue = 3;
methEnterMethod = 4;
methExitMethod = 5;
methConditional = 6;
methCheckpoint = 7;
methTStrings = 8;
methCallStack = 9;
methObject = 10;
methException = 11;
methBitmap = 12;
methHeapInfo = 13;
methMemory = 14;
methCustomData = 15;
methSend = 16;
{ hole }
methWatch = 20;
methCounter = 21;
methColor = 22;
{ We can use ltSubEventBetweenEnterAndExitMethods, to indent the Msg depending of it's level in the callstack, between EnterMethod..ExitMethod }
methSubEventBetweenEnterAndExitMethods = 23;
{ hole [ToDo: add IMAGE_method] }
methClear = 100;
ctsLogPrefixesMethod: array [methInfo..methSubEventBetweenEnterAndExitMethods] of string = (
'INFO_method',
'ERROR_method',
'WARNING_method',
'VALUE_method',
'>>ENTER_method',
'<<EXIT__method',
'CONDITIONAL_method',
'CHECKPOINT_method',
'TSTRINGS_method',
'CALL_STACK_method',
'OBJECT_method',
'EXCEPTION_method',
'BITMAP_method',
'HEAP_INFO_method',
'MEMORY_method',
'CUSTOM_DATA_method',
'SEND_method',
'', '', '', { hole }
'WATCH_method',
'COUNTER_method',
'COLOR_method',
'SUBEVENT_method');