
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@crasman/cloud-logger
Advanced tools
$ npm i @crasman/cloud-logger
Writing logs into GCP requires the roles/logging.logWriter
role.
import { CloudLogger } from '@crasman/cloud-logger';
const { logger } = new CloudLogger({ projectId: 'your-gcp-project-id' });
logger.info('Cloud logger initialized.', { hello: 'world' });
All logging methods take a message
argument, and optionally any number of metadata arguments.
emergency()
- Panic condition, affects multiple services. Notify all tech staffalert()
- Requires immediate attention. Notify staff who can fix the problemcritical()
- Indicates failure in a primary system. Fix critical problems before alerterror()
- Failure, does not require immediate attention. Notify developers or adminswarning()
- Indicates a potential error which may escalate if not fixed. Notify developersnotice()
- Indicates an unusual event, which is not an error. No immediate action requiredinfo()
- Normal operational messages. No action requireddebug()
- Debugging traces.main
, remember to npm run build
first.feat:
New feature for usersfix:
Fix a bug for usersdocs:
Changes to documentationstyle:
Changes to code formattingrefactor:
Refactoring production codetest:
Adding or refactoring testschore:
Updating build automation etc.BREAKING CHANGE
New major versionFAQs
```sh $ npm i @crasman/cloud-logger ```
We found that @crasman/cloud-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.