# Logging

Logging ensures you stay informed about server events, like deleted messages, providing a constant awareness of what's happening.

# Logging channels

kayo can either log all events to a single channel or direct specific events to different channels.

# Sending every event to one channel

logging enable <channel>

# Sending events into different logging channels

This works by specifying the event(s) you want logged after mentioning the channel, separating them with a space.

;logging enable <channel> <event(s)>

# Events

Name What does it log?
message Message deletion and updates.
member Joins and leaves, nickname changes, timeouts.
role Role creation, deletion, and updates.
channel Channel creation, deletion, and updates.
voice Voice channel joins and leaves, creation, deletion, and updates.
moderation Moderation actions taken through the use of kayo commands, such as ;ban.
invite Invite creation and deletion.
emoji Emoji creation and deletion.

# Checking enabled logs

This displays every channel where logging is enabled, along with all the events logged for each respective channel.

logging list

# Removing every log from a channel

This operates differently from ;logging enable; it only requires a channel argument and removes all enabled logs for that specific channel.

logging disable <channel>