Results 1 to 6 of 6

Thread: Logging

  1. #1

    Thread Starter
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Logging

    Hello there,

    What tools does everyone uses for logging (DEBUG, INFO, ERROR) on their Windows Mobile Applications?

    Do you use any?

    Thanks

    Gary

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Logging

    Personally, I use a flag to say whether I am logging, and just write to a flat file
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Logging

    Hey Pete,

    Is that due to the overhead of using a third party control?

    On the desktop, I have used log4net, and I see that they have a Compact Framework version, and I was wondering if that was any good.

    Thanks

    Gary

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Logging

    Hi,
    just used it as it is so easy

    Just looked at log4net, and it looks useful, although none of the sample links work.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Logging

    Hey,

    I have used it a lot on the desktop and for web apps, and it is very useful, and very good at what it does, so think I will give it a try on my mobile application as well and see how I get on.

    As for the sample links, not sure why they wouldn't be working

    Gary

  6. #6

    Thread Starter
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Logging

    Hello,

    After stating how good log4net was, I went and tried to get it to work in my Mobile Application, and after about a day (on and off0 of trying to get it to work, I eventually gave up. Don't know what I am doing wrong, but just can't get it to work!!!

    Instread, I have found NLog and this does work in my Application, and so far, it works really well, so this is the one that I am going to go with.

    Thanks

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width