logging: set the thread name for the AsyncFileWriter thread
authorAdam Simpkins <simpkins@fb.com>
Tue, 7 Nov 2017 20:11:23 +0000 (12:11 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 7 Nov 2017 20:16:43 +0000 (12:16 -0800)
commit766b616c0d104cfb37a2ad13284d320f2a4db67a
tree536494b7b5e160cf5eb2915395890b2ebc5c378b
parent103ad3dac0bac41b1bfcc86db8499592c855119f
logging: set the thread name for the AsyncFileWriter thread

Summary:
AsyncFileWriter uses a separate thread to write messages to the file
descriptor.  This diff makes us call setThreadName() to set the name of this
thread to `log_writer`.

Reviewed By: bolinfest

Differential Revision: D6238229

fbshipit-source-id: 9c93d80e7ac989e03bc3160bb2f135d67e15c8be
folly/experimental/logging/AsyncFileWriter.cpp