Comments (4)
The plan for exactly what? I do not understand what are you asking. Note that glog does not claim to provide (strict) compatibility to other libraries.
from glog.
Thank you for your answer!
The name "glog" made the impression to me that this was the C++ implementation of the "Google" log output format, as it is also implemented by the same-named implementation in Go1, and in line with the Abseil.io logging implementation2. (There is also one in Python3, but it is not a Google-released library.)
Spoken in practical terms, that means that the log files are created per program run (solving some aspects of log rotation), have a specific schema for their file name, and the log line format is standardized.
It is a surprise to me that you are not targeting compatibility with that, given that the library is hosted as "google/glog" on Github -- maybe this would be worth clarifying better in the README, possibly in coordination with the Abseil team, so that new users understand the differences better?
Footnotes
-
from https://abseil.io/about/:
Abseil is an open source collection of C++ libraries drawn from the most fundamental pieces of Google’s internal codebase. These libraries are the nuts-and-bolts that underpin almost everything Google runs.
from glog.
You are correct that google/glog indeed hosts the original implementation of glog now maintained by community. AFAIK Google abandoned the project in favor of logging implementation in Abseil. The log format, however, was never standardized or at least I'm not aware of such undertaking, which is why it was extended in glog over time to better fit the users' needs. I also believe it is very clear that Abseil log and glog are two different and independent projects (the former being a fork of the latter) and they will further diverge over time.
It is important to note that users can write their own prefix formatters in glog and restore the "original" prefix if necessary.
Given these circumstances, I'm not sure what exactly needs to be clarified. In case you have a specific idea in mind, you are welcome to submit a PR with corresponding changes.
from glog.
I'll close the issue since glog works as documented.
from glog.
Related Issues (20)
- bazel compilation with emscripten failed HOT 3
- HAVE_SYMBOLIZE missing on linux with bazel
- How do you solve this problem during installation? HOT 1
- Apply max_log_file constraint when timestamp_in_log_file=false
- Flag GLOG_v failed to set in Mac environment and resulting in incorrect printing of logs HOT 1
- why compile can not pass.it ocurrs the errors as follow。 HOT 3
- Cannot log to logcat on Android since 0.7.0 HOT 1
- Abseil or glog: what's the maintenance status? HOT 1
- Cmake --build build Error HOT 2
- Bazel build: Fix ignoring unknown option '-std=c++14' for Windows builds HOT 2
- The log output buffer doesn't get flushed correctly when printing the stack trace HOT 2
- Compile error when installed with vcpkg HOT 4
- Stacktrace is not printed by failure signal handler when built with Bazel HOT 2
- Why change to using cpp standard thread id instead of native os thread id? HOT 2
- build failed with clang-19 HOT 2
- Add 16 KB support for Android 15 HOT 2
- Can we use google::NullStream instead of google::LogMessageVoidify in LOG_IF?
- How to redact sensitive information from logs? HOT 11
- Pypi version out of date HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glog.