[#OSSL_CMP_print_to_bio] = OSSL_CMP_print_to_bio :mrdocs: Format a CMP log record (component, location, severity, message) onto a BIO. == Synopsis Declared in `<openssl/cmp_util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CMP_print_to_bio( xref:BIO.adoc[BIO]* bio, char const* component, char const* file, int line, xref:OSSL_CMP_severity.adoc[OSSL_CMP_severity] level, char const* msg); ---- == Return Value 1 on success, or 0 on write failure. == Parameters [cols="1,4"] |=== | Name| Description | *bio* | Destination BIO. | *component* | Function or module name; if NULL/empty/"(unknown function)", "CMP" is used. | *file* | Source file pathname, or NULL. | *line* | Source line number, or 0 if unknown. | *level* | Severity (OSSL_CMP_LOG_*). | *msg* | NUL‐terminated message text. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#