cbt-logger
v1.0.3
Published
## LOGGER
Downloads
2
Maintainers
Readme
CBT-SDK
LOGGER
Configure your aws account
If you don't have aws installed follow the steps in this link and install https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Once you install aws cli run
aws configure
then enter your credentials and login.
Login to the registry
Run the command
aws codeartifact login --domain qalara --repository qalara-npm --tool npm
Once you logged into the registry install the logger by running
npm i cbt-logger
How to use
import { logger } from "cbt-sdk"
logger("Qalara", "info", " info message ")
logger("Qalara", "debug", " debug message ")
logger("Qalara", "error", " error message ")