[#BloombergLP-balm-Metrics_Helper-logEmptyName]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/Metrics_Helper.adoc[Metrics&lowbar;Helper]::logEmptyName
:relfileprefix: ../../../
:mrdocs:

If the specified `name` is empty or contains only whitespace, then log a warning message indicating whether `name` is a category or a metric, depending on the specified `type`, and the location at which this function is called, indicated by the specified `file` and `line`&semi; otherwise, do nothing&period;

== Synopsis

Declared in `&lt;balm&lowbar;metrics&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
logEmptyName(
    char const* name,
    xref:BloombergLP/balm/Metrics_Helper/NameType.adoc[NameType] type,
    char const* file,
    int line);
----


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