|
I was wondering; which logging libraries for Delphi do you prefer?
Please try to add a reasoning why you prefer one over the other if you've used more than one.
I'll add suggestions to this question to keep things readable.
|
|
asked Sep 16 '08 at 14:34
|
|
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.
|
|
|
|
SmartInspect is really useful. It is the only one I have used. The logging library is good, but the console and the remote TCP/IP logging takes it over the top. I think CodeSite has some similar features.
|
answered Sep 17 '08 at 16:30
|
|
|
|
I liked the features but I have a home-rolled solution that requires a built-in GUI that my end-users can also use and SmartInspect only has a stand-alone viewer.
–
Brian Frost
Aug 20 '11 at 10:17
|
|
|
I've used Codesite and it has been fantastic. On one project, a word-processor, I could easily output a million debug lines, all structured, and Codesite helped greatly with its auto-collapsing indented output. For any task where you have to know what really is happening "underneath" a process that can't be interrupted by user interaction, Codesite is really good. I recommend it heartily.
|
answered Sep 16 '08 at 14:55
|
|
|
|
Have you compared CodeSite to other tools? What made you choose CodeSite?
–
PatrickvL
Sep 16 '08 at 15:02
|
|
The viewer is very good. What I didn't like that much about CodeSite is that it is elaborate to setup with it's dispatcher and viewer and some extra rights needed in the documents and settings\all users folder.
–
Lars Truijens
Sep 16 '08 at 16:52
|
|
|
Take a look at the features of this Open Source unit:
http://blog./post/2011/04/14/Enhanced-logging-in-SynCommons
- logging with a set of levels (not only a hierarchy of levels);
- fast, low execution overhead;
- can load .map file symbols to be used in logging;
- compression of .map into binary .mab (900 KB -> 70 KB);
- optional inclusion of the .map/.mab into the .exe;
- handle libraries (.ocx/.dll);
- exception logging (Delphi or low-level exceptions) with unit names and line numbers;
- optional stack trace with units and line numbers;
- methods or procedure recursive tracing, with Enter and auto-Leave;
- high resolution time stamps, for customer-side profiling of the application execution;
- set / enumerates / TList / TPersistent / TObjectList / dynamic array JSON serialization;
- per-thread, rotating or global logging;
- multiple log files on the same process;
- optional colored console display;
- optional redirected logging (e.g. to third party library, or to a remote server);
- log viewer GUI application, with per event or per thread filters, and method execution profiler;
- Open Source, works from Delphi 5 up to XE6 (Win32 and Win64).
Your feedback is welcome!
|
|
answered Apr 15 '11 at 12:08
|
|
|
|
HI Arnaud, a GUI log viewer is necessary!
–
Edwin Yip
Apr 16 '11 at 12:50
|
|
@Edwin OK - I'm currently working on it. :)
–
Arnaud Bouchez
Apr 20 '11 at 18:27
|
|
@Arnaud, that's sooo great! I was planning to evaluate Smart Inspect, the key feature to me is that my clients can send me a log file and then I can use a GUI to view, search and filter the log entries, so that I can locate problems in my software :) But I'm not in a hurry so I'll wait for your implementation, on the other hand, you are very fast in delivering high quality open source Delphi gems, I meant it.
–
Edwin Yip
Apr 21 '11 at 11:53
|
|
|
|
@Arnaud Bouchez sounds great but where is the download link ?
–
yeradis
Oct 26 '11 at 7:28
|
|
|
|
answered Nov 12 '10 at 13:49
|
|
|
|
|
Log4net/ports of Log4xxx to other languages. It's open-source, pretty wide-spread, popular, has a good community behind, and isused widel (for example, in Hibernate/nHibernate).
|
answered Sep 16 '08 at 14:36
|
|
|
|
I'm sorry, but I meant this as a Delphi-only question. I've edited the question to better show that intention.
–
PatrickvL
Sep 16 '08 at 14:38
|
|
And now I've found the port to Delphi, thanks for the mention - I didn't know about this yet!
–
PatrickvL
Sep 16 '08 at 14:51
|
|
|
And don't forget the free open source TraceTool
|
answered Sep 16 '08 at 16:49
|
|
|
|
|
An important value behind CodeSite is Ray Kanopka's support. He personally answers emails and newsgroup posts, and has done so for many years. His answers often contain code that illustrates excellent coding habits.
|
answered Sep 19 '08 at 3:24
|
|
|
|
|
I didn't use CodeSite probably because I'm completely happy with SmartInspect. Highly recommended.
|
answered Sep 16 '08 at 14:44
|
|
|
|
|
I am looking into Codesite as well. I built my own in the past but I really like the featrues in Codesite. The Raize componenets are very well written and always quality stuff.
|
answered Sep 16 '08 at 15:53
|
|
|
|
|
Log4D is another implementation which is based on Log4J and easy to extend and configure.
|
|
answered Apr 2 '09 at 8:59
|
|
|
|
|