Results 1 to 5 of 5

Thread: logging and tracing in Qt

  1. #1
    Join Date
    Jan 2006
    Location
    Germany, Rostock
    Posts
    17
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default logging and tracing in Qt

    Since Qt doesn't provide any own logging / tracing capabilities I'm looking for a suitable solution or library. Is there any qualified lib, which integrates in the Qt frammework?

    Thanks Artschi

  2. #2
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: logging and tracing in Qt

    We can't solve problems by using the same kind of thinking we used when we created them

  3. #3
    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: logging and tracing in Qt

    You can use qDebug() and family for tracing.

  4. #4
    Join Date
    Jan 2006
    Location
    Germany, Rostock
    Posts
    17
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: logging and tracing in Qt

    Hi all, thanks for your support.

    The log4cplus looks quite interesting. It's the log4j approach, which is powerfull and well accepted. But it looks like there are no activities at all for a longer time in that project

    Do you have any experience with that lib? Is it mature enought for real applications?

    The QDebug fits for developer testing. But it doesn't meet requirements like log levels, categories cunfigurable output channels.

    Cheers Artschi

  5. #5
    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: logging and tracing in Qt

    I used log4cpp. It's available at SF.

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.