[#bsl-PrintTo-07]
= xref:bsl.adoc[bsl]::PrintTo
:relfileprefix: ../
:mrdocs:

Write the specified `value` to the specified `&ast;stream`, surrounded by double quotes, writing non&hyphen;printable characters with &apos;x&period;&period;&period;&apos; escapes&period;

== Synopsis

Declared in `&lt;bslim&lowbar;gtestutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PrintTo(
    xref:bsl/wstring.adoc[wstring] const& value,
    std::ostream* stream);
----


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