info(...msg)
Description
Logs an informational message to console.log with:
- Timestamp using
dateTimeDataFormat() - All configured prefixes for this
Loginstance - All message parts supplied to the method
Signature
info(...msg: string[]): void
Example
const log = new Log("[SERVER]", "[INFO]");
log.info("Server started", "port:", "8080");
// Output example:
// 2025-01-07 13:45:30 [SERVER] [INFO] Server started port: 8080