mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 18:35:12 +00:00
This update is a full rewrite of the codebase with major improvements 💪 : - Slack Bot Integration – Added now built-in Slack bot! - Backblaze B2 Migration – Switched from Vercel to B2, cutting storage / egress costs by around 90%. - API v3 – New version includes file hashes, sizes, and additional metadata. - API Token Requirement – ⚠️ All older API versions (v1, v2) now require authentication tokens. ⚠️ -- Deployor 💜
9 lines
No EOL
263 B
JavaScript
9 lines
No EOL
263 B
JavaScript
const winston = require('winston');
|
|
|
|
const logger = winston.createLogger({
|
|
level: 'info',
|
|
format: winston.format.combine(winston.format.colorize(), winston.format.simple()),
|
|
transports: [new winston.transports.Console()],
|
|
});
|
|
|
|
module.exports = logger; |