
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
pastel-logger
Advanced tools
import { Logger } from "pastel-logger";
// system timezone
const logger = new Logger();
// custom timezone
const logger = new Logger({ tz: "Asia/Calcutta" });
// custom time string format
const logger = new Logger({ format: "DD-MM-YYYY hh:mm:ss" });
import { Logger } from "pastel-logger";
const logger = new Logger();
// general methods
logger.log("This is a log message");
logger.debug("This is a debug message");
logger.warn("This is a warning message");
logger.error("This is an error message");
logger.info("This is an info message");
logger.success("This is a success message");
// log levels
logger.log("This is a debug message", "debug");
logger.log("This is a warning message", "warn");
logger.log("This is an error message", "error");
logger.log("This is an info message", "info");
logger.log("This is a success message", "success");
// custom color (hex)
logger.log("This is a log message", "#694200");
// disable bold text
// all logs are bold by default (except logger#blank)
// but if you need a custom colored text without bold:
logger.log("This is a log message", "#694200", false);
// blank (possibly hides on most terminals, avoiding attention)
// useful for logs that aren't a priority over other logs
// but doesn't mean they should be excluded altogether
logger.blank("This is a log message");
FAQs
simple logging utility
The npm package pastel-logger receives a total of 1 weekly downloads. As such, pastel-logger popularity was classified as not popular.
We found that pastel-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.