forked from mirrors/Scribe.js
Example custom time
This commit is contained in:
parent
2747cff88e
commit
0f8a327c89
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ console.log("A string %s and a number %d", "hello", "123"); //you can use printf
|
|||
//Time
|
||||
console.time().log("Print the full time");
|
||||
console.date().log("Just print the date");
|
||||
//custom time
|
||||
console.time((new Date()).setFullYear(1999)).log("Custom time");
|
||||
|
||||
//Tags
|
||||
console.tag("My Tag").log("Add a tag");
|
||||
|
|
Loading…
Add table
Reference in a new issue