Created
September 24, 2019 15:08
-
-
Save sidhantpanda/2ad5df44669b905eea1378d1d4ec12aa to your computer and use it in GitHub Desktop.
Example usage for logt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import LogT from "logt"; | |
const LOG_TAG = "sample tag"; | |
const logger = new LogT("error"); | |
logger.error(LOG_TAG, new Error("example error")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment