• Adam Simpkins's avatar
    logging: add a NEVER_DISCARD flag to LogWriter · 84458670
    Adam Simpkins authored
    Summary:
    Add a flag to the LogWriter so we can ensure that particular messages are never
    discarded, even when the LogWriter is throttling messages.
    
    This functionality will be necessary to implement `FB_LOG(FATAL)` to that we
    can avoid discarding the reason for crashing.
    
    Reviewed By: wez
    
    Differential Revision: D5189498
    
    fbshipit-source-id: dc4322ea5ba449a341cdbdc32afb0ed466019801
    84458670
ImmediateFileWriter.cpp 1.55 KB