[#CTLOG_STORE_get0_log_by_id]
= CTLOG&lowbar;STORE&lowbar;get0&lowbar;log&lowbar;by&lowbar;id
:mrdocs:

Find a CT log in a store by log ID&period;

== Synopsis

Declared in `&lt;openssl&sol;ct&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CTLOG.adoc[CTLOG] const*
CTLOG&lowbar;STORE&lowbar;get0&lowbar;log&lowbar;by&lowbar;id(
    xref:CTLOG_STORE.adoc[CTLOG&lowbar;STORE] const* store,
    uint8&lowbar;t const* log&lowbar;id,
    size&lowbar;t log&lowbar;id&lowbar;len);
----

== Return Value

Matching CT log, or NULL if none is found&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *store*
| Log store to search&period;
| *log&lowbar;id*
| Log ID to match&period;
| *log&lowbar;id&lowbar;len*
| Length of `log&lowbar;id` in bytes&period;
|===


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