Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

console-log

Web-component for logging. It is especially useful to debug data binds. It supports both simple strings and complex objects, which can be inspected in the console window.

Demo

Please see the demo page.

Usage

Hello world:

<console-log log="Hello World"> </console-log>

Complex objects:

<template is="dom-repeat" items='["Bob", "Sally"]'>
    <console-log log="{{item}}"> </console-log>
</template>

Log levels:

<console-log log="log"></console-log>
<console-log info="info"></console-log>
<console-log warn="warn"></console-log>
<console-log error="error"></console-log>

About

Web-component for logging

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.