Package Exports
- fsts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fsts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
From Station to Station
Accumulated JavaScript toolkits library
npm install --save fstsLogger
import { Logger } from 'fsts';
const logger = new Logger('MyClass');
export default class MyClass {
constructor() {
logger.info('instance created');
}
doSomething() {
somePromise()
.then(data => logger.debug('some promise data', data))
.catch(err => logger.error('some promise error', err));
}
}