Gathering detailed insights and metrics for stampit-log
Gathering detailed insights and metrics for stampit-log
Gathering detailed insights and metrics for stampit-log
Gathering detailed insights and metrics for stampit-log
npm install stampit-log
Typescript
Module System
Node Version
NPM Version
67.7
Supply Chain
78.2
Quality
75.2
Maintenance
25
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
4 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 25, 2016
Latest Version
0.3.0
Package Id
stampit-log@0.3.0
Size
2.18 kB
NPM Version
3.8.3
Node Version
5.10.0
Published on
Apr 07, 2016
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
A simple logging mechanism for stampit objects.
npm install stampit-log
var stampit = require('stampit'),
log = require('stampit-log');
var example = stampit()
.refs({
'logLabel' : 'Example',
'logLevel' : 'info',
'logEnabled' : true
})
.compose(log)
.init(function () {
this.log.error('This is a error log.', { 'key' : 'value' });
this.log.warn('This is a warning.');
this.log.info('This is a information.', 1, 'abc');
this.log.debug('This is a debug message.');
this.log.trace('This is a trace with a stack trace attached.');
});
Log level are ordered like this
error, warn, info, debug, trace
For example set the log level to debug and error, warn, info and debug messages are shown. Set the log level to error than only the error messages are shown.
Copyright (C) 2016 Stefan Poeter (Stefan.Poeter[at]cloud-automation.de)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
no SAST tool detected
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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
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