@phnq/log
v1.1.7
Published
Really basic logging.
Downloads
946
Readme
@phnq/log
Super basic, no frills logging for client or server.
Features
- Very few features, very inflexible
- Colourized log category (based on category name)
- Extremely basic regex-based category matching for enabling/disabling loggers
Usage
import { createLogger } from "@phnq/log";
const serverLog = createLogger("server");
serverLog("Server starting on port %d", process.env.PORT);