Changes for page Development-WOEvents and Logging
Last modified by Pascal Robert on 2010/09/19 10:30
From version 3.1
edited by Quinton Dolan
on 2007/07/12 20:35
on 2007/07/12 20:35
Change comment:
There is no comment for this version
To version 1.1
edited by smmccraw
on 2007/07/08 09:46
on 2007/07/08 09:46
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. qdolan1 +XWiki.smmccraw - Content
-
... ... @@ -13,30 +13,30 @@ 13 13 14 14 For example, if you want to start the logging of WebObjects and EO debug information you can do: 15 15 16 -{{ code}}16 +{{panel}} 17 17 18 -NSLog.allowDebuggingForGroups(NSLog.DebugGroupWebObjects|NSLog.DebugGroupEnterpriseObjects); 18 + NSLog.allowDebuggingForGroups(NSLog.DebugGroupWebObjects|NSLog.DebugGroupEnterpriseObjects); 19 19 20 -{{/ code}}20 +{{/panel}} 21 21 22 22 Or: 23 23 24 -{{ code}}24 +{{panel}} 25 25 26 -NSLog.allowDebuggingForGroups(6); // Flags 2 and 1, ie. 6 = 1L<<2 | 1L<<1 26 + NSLog.allowDebuggingForGroups(6); // Flags 2 and 1, ie. 6 = 1L<<2 | 1L<<1 27 27 28 -{{/ code}}28 +{{/panel}} 29 29 30 30 You can specify debug groups in a command-line argument, either as a single numerical value (as above), as a list of flags or as a range of flags. For example all the following are equivalent: 31 31 32 -{{ noformat}}32 +{{panel}} 33 33 34 -./MyApp -DNSDebugGroups=6 35 -./MyApp -DNSDebugGroups="(2, 1)" 36 -./MyApp -DNSDebugGroups="(NSLog.DebugGroupWebObjects, NSLog.DebugGroupEnterpriseObjects)" 37 -./MyApp -DNSDebugGroups=1:2 34 + ./MyApp -DNSDebugGroups=6 35 + ./MyApp -DNSDebugGroups="(2, 1)" 36 + ./MyApp -DNSDebugGroups="(NSLog.DebugGroupWebObjects, NSLog.DebugGroupEnterpriseObjects)" 37 + ./MyApp -DNSDebugGroups=1:2 38 38 39 -{{/ noformat}}39 +{{/panel}} 40 40 41 41 These are the available debug groups (WebObjects 5.2.2): 42 42