LogCaptor
🎯 LogCaptor captures log entries for unit and integration testing purposes (by Hakky54)
console-captor
🎯 ConsoleCaptor captures console output for unit and integration testing purposes (by Hakky54)
| LogCaptor | console-captor | |
|---|---|---|
| 6 | - | |
| 429 | 33 | |
| 0.5% | - | |
| 8.8 | 6.7 | |
| 17 days ago | 10 days ago | |
| Java | Java | |
| Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LogCaptor
Posts with mentions or reviews of LogCaptor.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2026-01-23.
-
more-log4j2-2.1.0 with improved test support has been released
Some of you might use the io.github.hakky54:logcaptor library. This library is very helpful if you want to have assertions on your log output, however, there is a catch: The library relies on logback, and thereby blocks you from using more-log4j2 for your tests. more-log4j2-2.1.0 addresses this problem by reimplementing the LogCaptor API for log4j2. A few small tweaks to your log4j2-test.xml and switching your imports from nl.altindag.log.LogCaptor to com.github.mlangc.more.log4j2.captor.LogCaptor should be enough. In some cases trivial refactorings might be necessary, since I didn't clone the nl.altindag.log.model classes, but choose to expose the log4j2 APIs directly.
- LogCaptor: Simplificando o Teste de Logs em APIs REST Java
- Library to unit test your logging
- LogCaptor 2.8.0 Released
-
Unexplainable suddenly increased git clone count at repo?
I have been working on different public libraries and I noticed that one of my projects, LogCaptor, has suddenly high amount of git clone counts. Normally I would have daily 0 to 2 clones but from 13 december onwards on average 140 clones daily and on average 60 unique clones daily. I am not able to understand why suddenly this has increased as I am not able to get more information. Any idea if others are facing similar traffic or have any idea why I suddenly get more traffic?
- LogCaptor 2.6.1 Released
console-captor
Posts with mentions or reviews of console-captor.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning console-captor yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing LogCaptor and console-captor you can also consider the following projects:
log-capture - assertions for logging with logback
Deep Dive - Fluent assertions library for Java
Apache Log4j 2 - Apache Log4j is a versatile, feature-rich, efficient logging API and backend for Java.
jqwik - Property-Based Testing on the JUnit Platform