aboutsummaryrefslogtreecommitdiff
path: root/test/basic.js
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-20 19:47:28 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-20 19:47:28 +0200
commit58906d77975b35fe93569f8083b90140124f9c41 (patch)
tree36ec38adf065424d547ef73d014913c503ab40fe /test/basic.js
parent4b10e604bf4057d7ae8286151d7528d7d7ae1cb9 (diff)
Recover from npm package
Diffstat (limited to 'test/basic.js')
-rw-r--r--test/basic.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/test/basic.js b/test/basic.js
deleted file mode 100644
index 90aadd6..0000000
--- a/test/basic.js
+++ /dev/null
@@ -1,35 +0,0 @@
-if (typeof require === "function") {
- require("cobalt-log");
-}
-
-var co = new Cobalt.Console({
- loggers : [
- new Cobalt.Logger.JsConsole({
- formatter : Cobalt.Formatter.Token,
- formatterOpts : {
- formatString : "[{{_level}}] {{message}} {{customParam}}"
- }
- })
- ]
-})
-
-// TODO: Do this whole thing with tellurium.
-
-co.log("Log - Normal");
-co.debug("Warn - Normal");
-co.info("Info - Normal");
-co.notice("Notice - Normal");
-co.warn("Warn - Normal");
-co.error("Error - Normal");
-
-var logObject = co.extendLog({
- message : "Extended Log Object",
- customParam : "<3"
-});
-
-co.log(logObject);
-co.debug(logObject);
-co.info(logObject);
-co.notice(logObject);
-co.warn(logObject);
-co.error(logObject);