WebObjects Web Applications Development WOEvents and Logging

 19 July 02:12   

    These are the accessible alter levels (WebObjects 5.2.2):

    Debug groups are authentic as flags in a 64-bit array. The amount apparent in the affidavit is the basis of the specific alter accumulation banderole in this array.

    For example, if you wish to alpha the logging of WebObjects and EO alter advice you can do:

     NSLog.allowDebuggingForGroups(NSLog.DebugGroupWebObjects|NSLog.DebugGroupEnterpriseObjects);

    Or:

     NSLog.allowDebuggingForGroups(6); // Flags 2 and 1, ie. 6 = 1L<<2 | 1L<<1

    You can specify alter groups in a command-line argument, either as a individual after amount (as above), as a account of flags or as a ambit of flags. For archetype all the afterward are equivalent:

     ./MyApp -DNSDebugGroups=6

     ./MyApp -DNSDebugGroups=(2, 1)

     ./MyApp -DNSDebugGroups=(NSLog.DebugGroupWebObjects, NSLog.DebugGroupEnterpriseObjects)

     ./MyApp -DNSDebugGroups=1:2

    These are the accessible alter groups (WebObjects 5.2.2):

    

 


Tags: development, applications

 debug, webobjects, nslog, logging, , applications development woevents, web applications development,

Share WebObjects Web Applications Development WOEvents and Logging:
Digg it!   Google Bookmarks   Del.icio.us   Yahoo! MyWeb   Furl  Binklist   Reddit!   Stumble Upon   Technorati   Windows Live   Bookmark

Text link code :
Hyper link code:

Also see ...

Permalink
Article In : Computers & Technology  -  Websites Help