Addic file size limits

This commit is contained in:
hibas123
2018-02-18 16:00:16 +01:00
parent 5aaa4f6961
commit 2ccf45ff86
9 changed files with 315 additions and 52 deletions

View File

@ -1,7 +1,12 @@
import { Logging } from "./index";
import { randomBytes } from "crypto";
Logging.log("test")
Logging.log("i", "am", { a: "an" }, 1000);
Logging.error(new Error("fehler 001"));
Logging.debug("Some Debug infos");
Logging.errorMessage("i", "am", "an", "error");
Logging.errorMessage("i", "am", "an", "error");
Logging.stdout = false;
for (let i = 0; i < 7000; i++) {
Logging.log(randomBytes(50000).toString("hex"))
}