Hi,
Thank you for making absl available to the open source world.
A few suggestions about the documentation and the overall design:
1. It will be nice to have more comprehensive example in the guide, for example:
* which header to include
* how to build it with bazel or cmake.
2. For logging, compared to the original glog, it's unclear where the log goes when --stderrthreshold=0 is not set.
3. I like the finegrained modules absl provides. However it will be also nice to provide some scaffolding to give the external users an easier time, without tribe knowledge you folks may take for granted, it could non trivial effort to put together
this:
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "absl/log/initialize.h"
#include "absl/log/log.h"
#include "absl/strings/str_format.h"
ABSL_FLAG(std::string, foo, "world", "Whom to greet");
int main(int argc, char *argv[]) {
absl::ParseCommandLine(argc, argv);
absl::InitializeLog();
LOG(INFO) << "Hello " << absl::GetFlag(FLAGS_foo);
return 0;
}
As well as a bunch of deps to use in bazel BUILD:
deps = [
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/flags:parse",
"@com_google_absl//absl/log",
"@com_google_absl//absl/log:flags",
"@com_google_absl//absl/log:initialize",
]
Apprecaite that abseil is keeping getting better.
Ming