MessageLog is the simplest log type, extending BeagleLog without any additional properties. Use it for general-purpose logging of informational messages.
Overview
MessageLog inherits all properties and methods from BeagleLog and doesn’t add any additional functionality. It’s the default choice for logging custom messages at various severity levels.
Constructor
The log message content.
Optional severity level. One of:
'loading' | 'info' | 'warning' | 'error' | 'success'.Optional custom ID. If not provided, a unique 6-character ID is generated automatically.
When to Use
UseMessageLog for:
- General application events
- Custom debug messages
- User action tracking
- Application state changes
- Any log that doesn’t fit the specific types (Error, Networking)