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.
Please see the demo page.
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>