adds error loging to fibery Project managment space
npm i veedoo-logger
import { Logger, getProjectIdByName } from 'veedoo-logger';
// getProjectIdByName returns project fibery id using the projectName
let projectId = await getProjectIdByName('ProjectName');
//to create a new Logger you must pass it your fibery host, fiberyToken and projectId
let logger = new Logger(fiberyHost, fiberyToken, fiberyProjectId);
//to add an info log
let infoLog = await logger.info('Your Message');
// to add a warning log
let warnLog = await logger.warn('Your Message');
// to add an error log
let errorLog = await logger.error('Your Message');
This package is licensed under the MIT License