Logs are records or entries of events, activities, or information generated by the API. They serve as a historical record of activities and are essential for monitoring, troubleshooting, and auditing purposes.
Log Types
- Custom Logs: Within the class builder, you have the ability to manually trigger logs, incorporating personalized messages using the built-in Log function.
- Endpoint Logs: Each time an endpoint is invoked, a log entry is generated, capturing details such as the path, duration, status, and other pertinent information related to the API call.
- Startup Logs: Upon API startup, a log record is created, documenting the startup event.
- Event Logs: When an Event is triggered, a log entry is recorded, including the time of the trigger and relevant event information.
- Error Logs: In the event of an API error or exception, error logs are generated, containing valuable information to aid in issue identification and resolution.