Substitute all occurrences of valid %‐escape sequences in the specified logPattern with * and load the specified filePattern with the resulting string. This utility function converts the log patterns used by various file observers and supplied to their enableFileLogging method (see ball_fileobserver, ball_fileobserver2, and ball_asyncfileobserver) to the file pattern used by various utility functions to find the related file(s) on the filesystem (see balb_filecleanerutil and balb_filecleanerconfiguration).

Synopsis

Declared in <ball_logfilecleanerutil.h>

static
void
logPatternToFilePattern(
    bsl::string* filePattern,
    std::string_view const& logPattern);

Created with MrDocs