Skip to content

how to write log into file #1398

Answered by derekmauro
minhanghuang asked this question in Q&A
Discussion options

You must be logged in to vote

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::LogSinks that write to a file so that you don't have to implement them yourself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@minhanghuang
Comment options

Answer selected by minhanghuang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants