Results 1 to 3 of 3

Thread: Cross Platform Logging

  1. #1
    Join Date
    Nov 2006
    Posts
    20
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Wink Cross Platform Logging

    Hi All,

    I want to have my debug output go to a log using QtMsgHandler. Ideally I'd like it to integrate with metalog/syslog etc on linux, and whatever the relevant alternative is for windows and OS X.

    I haven't yet found an option for it, failing integration with loggers than being able to select a path for each OS without user interaction would be ideal, but I don't want it to be the path of the executable as this will default to /usr/bin on linux.

    Cheers,

    Alan.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Cross Platform Logging

    Try log4cpp.

  3. #3
    Join Date
    Nov 2006
    Posts
    20
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Cross Platform Logging

    Hi wysota,

    Thanks very much - I'll take a look.

    Cheers,

    Alan.

Similar Threads

  1. Cross compile QT/X11 for platform xscale-elf
    By nmkarvekar in forum Installation and Deployment
    Replies: 0
    Last Post: 19th May 2006, 07:20
  2. Using Qt to write Cross Platform Library
    By ball in forum Qt Programming
    Replies: 2
    Last Post: 3rd April 2006, 09:58

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.