Questions tagged [logging]
Computer data logging is the process of recording events in a computer program, usually with a certain scope, in order to provide an audit trail that can be used to understand the activity of the system and to diagnose problems.
                335 questions
            
            
            
                4
            
            votes
        
        
            
                2
            
            answers
        
        
            
                166
            
            views
        
        
            
            
            
        Implementing a custom logger in .NET
                    One of my latest projects has been implementing a custom .NET logger, as a lot of our products use their own logging solution and we're trying to standardize, but that means accounting for a lot of ...
                
            
       
        
            
                6
            
            votes
        
        
            
                3
            
            answers
        
        
            
                273
            
            views
        
        
            
        GitHub Label Management with GraphQL, Requests, and Loguru
                    I've developed a Python script that automates the management of GitHub labels. It utilizes both the GitHub GraphQL API (to fetch label data) and the REST API (to update, delete, and merge labels). The ...
                
            
       
        
            
                5
            
            votes
        
        
            
                3
            
            answers
        
        
            
                406
            
            views
        
        
            
            
            
        PIMPL based logging interface to print multiple parameters at once
                    I have implemented my own logger based pimpl idiom. As a third party lib, I used spd log. My focus is to provide an interface to the end user who wants to print multiple parameters at once. I also ...
                
            
       
        
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                283
            
            views
        
        
            
        Logging in a different thread using circular buffer C++
                    What it does
The code creates a logger class which instantiates a circular buffer at construction and uses producer-consumer style approach using condition_variable to log and print the messages to ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                105
            
            views
        
        
            
            
            
        logging utility for web bot
                    I'm writing a web bot using puppeteer and I'm logging (using winston) every action the bots does and running it inside try/catch blocks.
For automating these processes and avoiding code repetition I ...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                167
            
            views
        
        
            
            
        utility to manipulate java.util.logging config using command-line system properties
                    This is intended for temporary ad-hoc changes to logging config, for example when debugging etc. Also included are functions to easily manipulate config from a code (for example at the beginning of a ...
                
            
       
        
            
                4
            
            votes
        
        
            
                2
            
            answers
        
        
            
                223
            
            views
        
        
            
            
        Header only logging library in C++
                    Source Code
I've attempted to create a simple logging library in cpp. My goal was to make it lightweight to incorporate and easy to add to the codebase.
...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                125
            
            views
        
        
            
            
        A Windows localhost key logger in C++ with WinAPI
                    Now I have this repository. It's a key logger logging all the keyboard events possible. Note that some programs do not "leak" the keyboard events outside of their GUI. For example, Notepad++ ...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                66
            
            views
        
        
            
            
        Logger with a Core and Client side
                    This logger is for a game engine I'm writing it has a core side which is the game itself and a client side which is the engine. The architecture of the code I feel like is messy it has the main log ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                172
            
            views
        
        
            
            
        Logger for a Game Engine
                    So I'm making a logger for a program and it has 6 levels increasing severity and things I don't think its as memory efficient as it could be but I'm just getting into c++ and memory coding. I feel ...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                115
            
            views
        
        
            
            
            
        Logging activity traces with custom APIs
                    I've got this idea (based on experience) that logging plain messages isn't just enough to monitor an application so I built an abstraction layer on top of the built-in ...
                
            
       
        
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                254
            
            views
        
        
            
            
        Custom single-header C++ logging library
                    I started learning C++ recently for game development, and decided to write my own little library for debugging.
Here is the library (snoop.hpp)
...
                
            
       
        
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                105
            
            views
        
        
            
            
        Generic logging setup that enables context information
                    I use the below code to include context specific information in logging record (see obj).
...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                943
            
            views
        
        
            
            
            
        Replacement for EnsureSuccessStatusCode
                    I like the simplicity of EnsureSuccessStatusCode for HttpResponseMessage after a call using ...
                
            
       
        
            
                3
            
            votes
        
        
            
                2
            
            answers
        
        
            
                443
            
            views
        
        
            
            
            
        Logger using variadic macros
                    I'm getting back into C and I wrote this variadic logger as part of a chess application I'm writing. As such I'm looking for feedback about the general approach (I'm going to give it another pass to ...
                
            
       
         
         
         
         
        