Startup Messages
Customize startup messages in Logixlysia
Control how your application announces its startup with Logixlysia’s flexible startup message system.
Basic Usage
logixlysia({
config: {
showStartupMessage: true,
startupMessageFormat: 'simple' // or 'banner'
}
})
Message Formats
Simple Format
A clean, minimal startup message:
🦊 Elysia is running at http://localhost:3000
Banner Format
A beautiful ASCII art banner (default):
┌─────────────────────────────┐
│ │
│ Elysia v1.4.30 │
│ │
│ 🦊 http://localhost:3001 │
│ logixlysia v6.9.4 │
│ │
└─────────────────────────────┘
The versions are the ones installed, and the box widens to fit its longest row.
Configuration
| Option | Type | Description | Default |
|---|---|---|---|
showStartupMessage |
boolean |
Whether to show the startup message | true |
startupMessageFormat |
'simple' | 'banner' |
The format of the startup message | 'banner' |
Best Practices
- Use
'banner'format in development for better visibility - Use
'simple'format in production for cleaner logs - Consider disabling startup messages in production if not needed