gflags
glog
gflags | glog | |
---|---|---|
4 | 5 | |
2,804 | 6,818 | |
0.6% | 0.8% | |
0.0 | 8.9 | |
5 months ago | 12 days ago | |
C++ | C++ | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
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.
gflags
- All 1,400 Google Chrome CLI flags
-
Resolved an issue in gflags which has been opened for about 7 years
Someone opened an issue at https://github.com/gflags/gflags/issues/76, to request for a feature of flag alias, and it has been opened for about 7 years.
-
New to photogrammetry, getting started?
git clone https://github.com/gflags/gflags.git
-
Why Do Long Options Start with Two Dashes?
Google's command line flags library, known to the public as absl::Flags and formerly gflags, does not distinguish between --foo and -foo, these are both the flag "foo". Each flag has a unique name so there is never a short -f equivalent to --foo, and -foo can never mean -f -o -o.
The main design motivation of absl::Flags is that the flag definitions can appear in any module, not just main. Go inherits this. A quirk that Go did not inherit is gflags --nofoo alternate form of --foo=false.
This is all documented at https://gflags.github.io/gflags/#commandline, which is pretty much a literal export of the flags package documentation that a Google engineer would see internally.
glog
-
C++ Game Utility Libraries: for Game Dev Rustaceans
Alternatives are glog from Google is full-featured, like spdlog, while Plog offers a lightweight alternative. Both are worthy upgrades on using C++ built-in std::clog.
- Google Logging Library
-
libbase - standalone reimplementation useful parts of Chromium's //base module
Technically: yes, it depends the GLOG library (https://github.com/google/glog) which gives you logging system and assertions, etc. (the same ones that are available in normal Chromium's //base)
-
Creating a logging library
I suggest you take a look at GLog (https://github.com/google/glog) - it's got a few more features above my stated minimum and the performance is good (as long as you avoid force-flushing).
-
New to photogrammetry, getting started?
git clone https://github.com/google/glog.git
What are some alternatives?
Boost.Program_options - Boost.org program_options module
spdlog - Fast C++ logging library.
jarro2783/cxxopts - Lightweight C++ command line option parser
G3log - G3log is an asynchronous, "crash safe", logger that is easy to use with default logging sinks or you can add your own. G3log is made with plain C++14 (C++11 support up to release 1.3.2) with no external libraries (except gtest used for unit tests). G3log is made to be cross-platform, currently running on OSX, Windows and several Linux distros. See Readme below for details of usage.
CLI11 - CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
Boost.Log - Boost Logging library
args - A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API).
log4cplus - log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modelled after the Java log4j API.
conan - Conan - The open-source C and C++ package manager
easyloggingpp - C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
Vcpkg - C++ Library Manager for Windows, Linux, and MacOS
plog - Portable, simple and extensible C++ logging library