README
Logger
Simple custom logger to be shared across 5k projects
Usage
import { info, error, success } from "@5k-rewrite/logger";
info("MARKER 1", { a: 1, b: 2 });
success("MARKER 2", { c: 3, d: 4 });
const func1 = () => {
try {
throw new Error("TEST");
} catch (e) {
error("MARKER 3", { val: 1 }, e);
}
};
func1();
This would log the output:
Maintainers & Contributors
See CONTRIBUTING.md
for more information on maintenance and publishing.