how to write log into file #1398
Answered
by
derekmauro
minhanghuang
asked this question in
Q&A
-
Can abseil write the log to the specified file like glog? |
Beta Was this translation helpful? Give feedback.
Answered by
derekmauro
Feb 18, 2023
Replies: 1 comment 1 reply
-
Abseil currently has no builtin ability to write to a file. Instead, we provide an interface, A future Abseil release may include |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
minhanghuang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Abseil currently has no builtin ability to write to a file. Instead, we provide an interface,
absl::LogSink
to allow you to do whatever you need to do with logs, including writing to a file.A future Abseil release may include
absl::LogSink
s that write to a file so that you don't have to implement them yourself.