A configurable shared public record of ui environment managed console logging
let level = 'info';
let options = {};
publicRecord.setOptions(options);
publicRecord.logMessage(level, 'This is %s message #%d', 'dynamic', 1);
// Outputs: This is dynamic message #1
import {publicCreate} from "../../dist/publicCreate";
let options = {};
let publicRecord = publicCreate(options);
let level = 'info';
publicRecord.logMessage(level, 'This is %s message #%d', 'dynamic', 1);
// Outputs: This is dynamic message #1
To begin, clone this project and run
npm install
npm run release
Then, run a web server such as http-server Go to the root of the project to read the documentation