[#BloombergLP-ball-FileObserver-disableUserFieldsLogging] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::disableUserFieldsLogging :relfileprefix: ../../../ :mrdocs: Disable the logging of user‐defined fields by this file observer. This method has no effect if logging of user‐defined fields is not enabled, or if a format string other than the default one is in effect. == Synopsis Declared in `<ball_fileobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated("Use `setFormat` and attributes")]] void disableUserFieldsLogging(); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use `setFormat` and attributes. Use of this entity is allowed but discouraged. ==== == Description DEPRECATED: Use `setLogFormat` instead. [.small]#Created with https://www.mrdocs.com[MrDocs]#