Scroll to navigation

MONGOC_STRUCTURED_LOG_ENTRY_GET_MESSAGE_STRING(3) libmongoc MONGOC_STRUCTURED_LOG_ENTRY_GET_MESSAGE_STRING(3)

SYNOPSIS

const char *
mongoc_structured_log_entry_get_message_string (const mongoc_structured_log_entry_t *entry);


PARAMETERS

entry: A mongoc_structured_log_entry_t pointer.

RETURNS

A string, guaranteed to be valid only during the lifetime of the structured log handler. It should not be freed or modified.

Identical to the value of the message key in the document returned by mongoc_structured_log_entry_message_as_bson().

This is not a complete string representation of the structured log, but rather a standardized identifier for a particular log event.

SEE ALSO:

Structured Logging



AUTHOR

MongoDB, Inc

COPYRIGHT

2009-present, MongoDB, Inc.

March 5, 2025 1.30.2