> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Module event

Module: `noir_aztec::messages::logs::event`

## Functions

- [encode_private_event_message](/aztec-nr-api/v6.0.0/noir_aztec/messages/logs/event/fn.encode_private_event_message.md): Creates the plaintext for a private event message (i.e. one of type [`PRIVATE_EVENT_MSG_TYPE_ID`](/aztec-nr-api/v6.0.0/noir_aztec/messages/msg_type/global.PRIVATE_EVENT_MSG_TYPE_ID.md)).

## Globals

- [MAX_EVENT_SERIALIZED_LEN](/aztec-nr-api/v6.0.0/noir_aztec/messages/logs/event/global.MAX_EVENT_SERIALIZED_LEN.md): The maximum length of the packed representation of an event's contents. This is limited by private log size, encryption overhead and extra fields in the message (e.g. message type id, randomness, etc.).
