This commit is contained in:
2018-11-07 23:12:00 +00:00
parent d99fe5677b
commit 063b68c9b9
4 changed files with 19 additions and 12 deletions

View File

@@ -1,7 +1,9 @@
/* eslint-disable */
//////////////////////////////////////////////////////
//in-memory log, keeps up to 100 of the past log items
//
import cbuffer from "./cbuffer";
const buffer = new cbuffer(10);
const buffer = new cbuffer(100);
export default {
log(msg, obj) {
if (obj) {