Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@seek/splunk-logger
Advanced tools
Generates Splunk consumable logs in node 4.3.2 AWS Lambdas.
npm install --save @seek/splunk-logger
Provides the usual error, warn, info, and debug
Log messages are formatted like this where the name
component will only be used if given in the logger's constructor :
name=<name>, level=<level>, msg=<msg>
Kind: global class
Create a logger
Param | Type | Default | Description |
---|---|---|---|
[name] | string | Optional name to give the logger. This will be added to all log bodies. | |
[level] | string | "info" | Optional minimum level to output. Defaults to info |
Logger
Set the minimum log level to output
Kind: instance method of Logger
Returns: Logger
- this Logger instance
Param | Type | Description |
---|---|---|
level | string | Should be one of error , warn , info , debug |
Emit a log message at the given level
Kind: instance method of Logger
Param | Type | Description |
---|---|---|
msg | * | Thing to be logged. If given an object literal it will be appended to the log in the format <code>key1=value1, key2=value2</code> |
level | string | log level to be used in error , warn , info , debug . Defaults to info . |
Emit error level log
Kind: instance method of Logger
Param | Type | Description |
---|---|---|
msg | * | Thing to be logged. See log |
Emit warn level log
Kind: instance method of Logger
Param | Type | Description |
---|---|---|
msg | * | Thing to be logged. See log |
Emit info level log
Kind: instance method of Logger
Param | Type | Description |
---|---|---|
msg | * | Thing to be logged. See log |
Emit debug level log
Kind: instance method of Logger
Param | Type | Description |
---|---|---|
msg | * | Thing to be logged. See log |
FAQs
Generates Splunk consumable logs in node 4.3.2 AWS Lambdas.
We found that @seek/splunk-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 35 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.