[#BloombergLP-bsls-BslTestUtil-callDebugprint]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/BslTestUtil.adoc[BslTestUtil]::callDebugprint
:relfileprefix: ../../../
:mrdocs:

Print the value of `object` to the console&period;

== Synopsis

Declared in `&lt;bsls&lowbar;bsltestutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
void
callDebugprint(
    TYPE const& object,
    char const* leadingString = 0,
    char const* trailingString = 0);
----

== Description

Print the value of the specified `object` of the parameterized `TYPE` to the console&period; Optionally specify a `leadingString`, which will be printed before `object`, and a `trailingString`, which will be printed after `object`&period; If `leadingString` is 0, then nothing will be printed before `object`&period; If `trailingString` is 0, then nothing will be printed after `object`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| value of parameterized `TYPE` to print
| *leadingString*
| optional prefix string, or 0 for none
| *trailingString*
| optional suffix string, or 0 for none
|===


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