Displays expressions, or writes to log files, while debugging. A single trace statement can support multiple arguments. If any argument in a trace statement includes a data type other than a String, the trace function invokes the associated toString() method for that data type. For example, if the argument is a Boolean value the trace function invokes Boolean.toString() and displays the return value.
bower install --save-dev adriancmiranda/trace<script src="https://rawgit.com/adriancmiranda/trace/master/index.js"></script><script src="https://rawgit.com/adriancmiranda/trace/master/index.min.js"></script>Join debug query in URL (e.g. <url>?debug=*) or set console.enabled = true; in your JavaScript code to show your logs and then use the console normally.
P.S. you can also usage the trace method as an alias to console.log (:zap: flash feelings :sunglasses:)
... arguments — One or more (comma separated) expressions to evaluate. For multiple expressions, a space is inserted between each expression in the output.
The following example uses the trace() method to print a simple string. Generally, the message will be printed to a Developer Tools > Console.
trace("Hello", "World");A Boolean value that indicates whether the console is enabled.
[read-only] Contents of the history stack
The number of lines of scrollback buffer to keep above the visible part of the screen.
... arguments — One or more (comma separated) expressions to evaluate. For multiple expressions, a space is inserted between each expression in the output.
To clear the appended log with console.push method