Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Logger: simple, convinient and thread safe logger for Qt applications
Forum Updated to NodeBB v4.3 + New Features

Logger: simple, convinient and thread safe logger for Qt applications

Scheduled Pinned Locked Moved Showcase
loggingqdebug
43 Posts 14 Posters 65.6k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Gregoire BorelG Gregoire Borel

    Hey, thanks for this library, it's really cool.

    I'd like to know if it was possible and safe to write in several files? I'd like to create several FileAppender's and decide in which of these files I should write.

    Is there any way to indicate to LOG_INFO() the FileAppender I want to write in?

    C Offline
    C Offline
    cyberbobs
    wrote on last edited by cyberbobs
    #41

    @Gregoire-Borel Actually, the categorized logging feature is made just for that case. Please, take a look at Logger::registerCategoryAppender(). After adding the appender for the category (which is basically just a string identifier) you may use LOG_C* macros to write records to the specific categories or make use of LOG_CATEGORY macro (I'm pretty fond of it myself :), allowing you to automatically redirect every log record made from inside some class to the category you picked.

    1 Reply Last reply
    0
    • _ Offline
      _ Offline
      _JR_
      wrote on last edited by
      #42

      Hey, thanks for this library, very usefull and easy to use

      I'd like to know if someone used it on IOS and if there is any potential known issues on this platform ?

      C 1 Reply Last reply
      0
      • _ _JR_

        Hey, thanks for this library, very usefull and easy to use

        I'd like to know if someone used it on IOS and if there is any potential known issues on this platform ?

        C Offline
        C Offline
        cyberbobs
        wrote on last edited by
        #43

        @_JR_ You're welcome :) Personally I neither had any experience in writing iOS apps nor have the necessary hardware/keys/certificates for that. So any input on the subject will be useful (but I doubt that it will be possible to make any enhancements based on that).

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved