@botmock-api/log

canonical log lines for botmock integrations

Usage no npm install needed!

<script type="module">
  import botmockApiLog from 'https://cdn.skypack.dev/@botmock-api/log';
</script>

README

@botmock-api/log

Build Status

canonical log lines for botmock integrations

Installation

npm i @botmock-api/log

API

log

Prints input to stdout or stderr based on { isError } value, which defaults to false.

import { default as log } from "@botmock-api/log";

log("thing", { isError: true });