[#BloombergLP-ball-LogFileCleanerUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::LogFileCleanerUtil
:relfileprefix: ../../
:mrdocs:

This utility class provides functions for converting log file patterns and for cleaning up log files based on a configuration&period;

== Synopsis

Declared in `&lt;ball&lowbar;logfilecleanerutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct LogFileCleanerUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/LogFileCleanerUtil/enableLogFileCleanup.adoc[`enableLogFileCleanup`] 
| Enable log file cleanup on `observer` using the specified `config`&period;
| xref:BloombergLP/ball/LogFileCleanerUtil/logPatternToFilePattern.adoc[`logPatternToFilePattern`] 
| Convert `logPattern` to a filesystem `filePattern` by replacing `%`&hyphen;escapes with `&ast;`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
