Skip to main content

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.

29 votes
1 answer
6k views

Whenever I need logging functionality in .net, I use a logging framework, such as NLog. Obviously there's no logging framework for vba, at least none that I know of. As much as I love using NLog, the ...
Mathieu Guindon's user avatar
1 vote
3 answers
1k views

I want to document every exception handled in my code and some states of the code when it works properly. What I've done is two functions, one that creates an 'error report' (function: ...
Lucas Fernandez's user avatar
3 votes
2 answers
417 views

I use my own logger adapter that collects data into a dictionary: public class Log : Dictionary<string, object> { } This is really all I have. I then pass ...
t3chb0t's user avatar
  • 44.8k
71 votes
2 answers
98k views

I'm working on a Python script and I was searching for a method to redirect stdout and stderr of a subprocess to the logging ...
DracoJem's user avatar
  • 811
23 votes
3 answers
3k views

I'm still working on a parser that can parse log entries from a game called HearthStone, the overall idea is that it will read the log file live when the game is running, parses the log file and show ...
skiwi's user avatar
  • 10.7k
16 votes
3 answers
29k views

I've been programming for what is a probably a little bit and made a very simple logging system for my personal projects. While it works out fairly well so far, I would like advice on how to make it ...
Rietty's user avatar
  • 375
15 votes
1 answer
2k views

What do you think about this way to make logging available across the application without passing log object around? Let’s say we have something which allows us to ...
Dmitry Nogin's user avatar
  • 6,131
8 votes
1 answer
509 views

GitHub, NuGet This component traces execution in a logical order instead of chronological as everybody else :) For example, the following code: ...
Dmitry Nogin's user avatar
  • 6,131
6 votes
2 answers
255 views

My goal with the following code is to provide an extensible class that can be extended in order to read log files and transforms them into meaningful output. I'd like to have comments about the code ...
skiwi's user avatar
  • 10.7k
5 votes
3 answers
347 views

Some methods of this library require some improvements (see this description): In the constructor I am trying to create the possibility that the user modifies the ...
user avatar
4 votes
1 answer
973 views

I've asked a question about this particular code before, although it was a little different back then. I took the suggestions from people who replied to my question and decided to post a follow up to ...
Josh Hallow's user avatar
  • 1,355
4 votes
2 answers
5k views

I have implemented a socket listener that runs on my Linux Ubuntu server accepting connections and then starting up a new thread to listen on those connections (classic socket listener approach). ...
dreza's user avatar
  • 6,537
4 votes
2 answers
493 views

I created a small logging class library and wanted you guys to check it out, I used to use Log4Net but thought I could create something more user friendly that was more suitable for my project than ...
Liam Hardy's user avatar
4 votes
2 answers
1k views

I have a task at hand to build a utility which Scans through a log file. Rolls over if a log file is reset. Scans through each line of the log file. Each line is sent to an executor service and ...
User3's user avatar
  • 241
2 votes
3 answers
192 views

I wrote my own logger, but I dislike how many times I overloaded the log() function. If anyone knows of another way of doing that, feel free to share. ...
CATboardBETA's user avatar

15 30 50 per page