[#LDBG_OS_IMPL]
= LDBG&lowbar;OS&lowbar;IMPL
:mrdocs:

This macro is the core of the LDBG&lowbar;OS() macros&period; It is used to print the debug output with the given stream, level, type, file, and line number&period;

== Synopsis

Declared in `&lt;llvm&sol;Support&sol;DebugLog&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define LDBG&lowbar;OS&lowbar;IMPL(TYPE&lowbar;OR&lowbar;LEVEL, LEVEL&lowbar;OR&lowbar;TYPE, CALLBACK, STREAM, FILE, LINE)

----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *TYPE&lowbar;OR&lowbar;LEVEL*
| Debug type when a string, or level when an integer (paired with `LEVEL&lowbar;OR&lowbar;TYPE)&period;`
| *LEVEL&lowbar;OR&lowbar;TYPE*
| Debug level when an integer, or type when a string (paired with `TYPE&lowbar;OR&lowbar;LEVEL)&period;`
| *CALLBACK*
| Callable invoked with the prefixed debug stream&period;
| *STREAM*
| Underlying `raw&lowbar;ostream` that receives the output&period;
| *FILE*
| Source file name shown in the prefix&period;
| *LINE*
| Source line number shown in the prefix&period;
|===


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