Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Logging

Logging

Scheduled Pinned Locked Moved C / C++ / MFC
algorithmsquestion
4 Posts 4 Posters 0 Views 1 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.
  • J Offline
    J Offline
    Jerome Conus
    wrote on last edited by
    #1

    Hi ! I need to implement some logging in my app. As I don't want to reinvent the wheel, I did some searching for a logging framework. I found log4cpp and log4cxx, but I find it difficult to choose. Does anyone of you use one of these ? Are you facing some problems ? OR do you know of another logging framework that you would recommand ? Thanx for your suggestions, Jerome

    4 D N 3 Replies Last reply
    0
    • J Jerome Conus

      Hi ! I need to implement some logging in my app. As I don't want to reinvent the wheel, I did some searching for a logging framework. I found log4cpp and log4cxx, but I find it difficult to choose. Does anyone of you use one of these ? Are you facing some problems ? OR do you know of another logging framework that you would recommand ? Thanx for your suggestions, Jerome

      4 Offline
      4 Offline
      4apai
      wrote on last edited by
      #2

      what about to write your own logging system? it doesn't take much time and you can simply adjust it to your needs. i recommand it. it consists of singleton class with method that add records to the log file. you can write also time, thread_id, process_id, variables values, states and so on... 4apai There're no impossible tasks. There're tasks that required infinite period of execution time.

      1 Reply Last reply
      0
      • J Jerome Conus

        Hi ! I need to implement some logging in my app. As I don't want to reinvent the wheel, I did some searching for a logging framework. I found log4cpp and log4cxx, but I find it difficult to choose. Does anyone of you use one of these ? Are you facing some problems ? OR do you know of another logging framework that you would recommand ? Thanx for your suggestions, Jerome

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Jerome Conus wrote: I need to implement some logging in my app. If the quantity of data is small, you could use the system's event log. It has it's own API.


        "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

        1 Reply Last reply
        0
        • J Jerome Conus

          Hi ! I need to implement some logging in my app. As I don't want to reinvent the wheel, I did some searching for a logging framework. I found log4cpp and log4cxx, but I find it difficult to choose. Does anyone of you use one of these ? Are you facing some problems ? OR do you know of another logging framework that you would recommand ? Thanx for your suggestions, Jerome

          N Offline
          N Offline
          Neville Franks
          wrote on last edited by
          #4

          I looked at lots of logging packages about a year ago for Surfulater and in the end used AMLOG which you'll find here on CP. I had various problems with other loggers and some were just too big and complex for my needs. Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups