Gathering detailed insights and metrics for @slack/logger
Gathering detailed insights and metrics for @slack/logger
Gathering detailed insights and metrics for @slack/logger
Gathering detailed insights and metrics for @slack/logger
npm install @slack/logger
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.1
Supply Chain
76
Quality
82.8
Maintenance
100
Vulnerability
100
License
@slack/cli-hooks@1.2.1
Updated on Jul 15, 2025
@slack/types@2.15.0
Updated on Jul 09, 2025
@slack/web-api@7.9.3
Updated on Jun 19, 2025
@slack/web-api@7.9.2
Updated on May 20, 2025
@slack/socket-mode@2.0.4
Updated on Mar 27, 2025
@slack/rtm-api@7.0.3
Updated on Mar 27, 2025
TypeScript (90.14%)
JavaScript (9.63%)
Ruby (0.16%)
Shell (0.06%)
Total Downloads
310,147,853
Last Day
480,393
Last Week
3,057,319
Last Month
13,286,120
Last Year
127,816,749
MIT License
3,327 Stars
2,673 Commits
674 Forks
121 Watchers
42 Branches
183 Contributors
Updated on Jul 15, 2025
Latest Version
4.0.0
Package Id
@slack/logger@4.0.0
Unpacked Size
12.08 kB
Size
3.80 kB
File Count
6
NPM Version
9.6.6
Node Version
20.2.0
Published on
Aug 25, 2023
Cumulative downloads
Total Downloads
Last Day
53.7%
480,393
Compared to previous day
Last Week
3.6%
3,057,319
Compared to previous week
Last Month
5.3%
13,286,120
Compared to previous month
Last Year
50.5%
127,816,749
Compared to previous year
1
The @slack/logger
package is intended to be used as a simple logging interface that supports verbosity levels.
This package supports Node v18 and higher. It's highly recommended to use the latest LTS version of node, and the documentation is written using syntax and features from that version.
1$ npm install @slack/logger
This package exports a ConsoleLogger
class, a generic Logger
interface and a LogLevel
enum.
The source code is short (~150 lines of code), so check out src/index.ts
for details, but the ConsoleLogger
API
mimics the default node console
API with three additions:
getLevel()
: returns the currently-specific LogLevel
of the logger.setLevel(LogLevel)
: sets the LogLevel
of the logger.setName(string)
: sets a prefix to display in logs. Useful if you have multiple loggers active.If you get stuck, we're here to help. The following are the best ways to get assistance working through your issue:
developers@slack.com
No vulnerabilities found.
Reason
30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 12/13 approved changesets -- score normalized to 9
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
3 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More