UNPKG

@vechain/sdk-logging

Version:

This module provides functionality to logging data for vechain-sdk

32 lines (21 loc) 1.47 kB
# @vechain/sdk-logging Welcome to the **logging package** of the VeChain SDK! ## Introduction Logging package provides a simple and easy-to-use logging system for the VeChain SDK. ## Key Features The VeChain SDK Logging package provides features for logging, including: * `Error` logging * `Info` logging * `Warning` logging ## Commands - **Build**: Execute `yarn build` to build the package. - **Lint**: Execute `yarn lint` to lint the package. - **Format**: Execute `yarn format` to format the package. - **Test:unit**: Execute `yarn test:unit` to run unit tests. - **Test:integration**: Execute `yarn test:integration` to run integration tests. - **Test**: Execute `yarn test` to run all tests on the package. - **NOTE**: Tests and Integration tests require thor-solo to be running locally. You can run and stop separately thor solo node with `yarn start-thor-solo` and `yarn stop-thor-solo` or run all tests with `yarn test:solo` which will start thor solo node, run all tests and stop thor solo at the end. Same for integration tests. You can directly run `yarn test:integration:solo` to run integration tests with thor solo. ## Usage Explore examples of how to use this package in real-world scenarios at [vechain SDK examples](https://github.com/vechain/vechain-sdk/tree/main/docs/examples). Feel free to leverage these resources and don't hesitate to reach out if you have any questions or need further assistance. Happy coding with the VeChain SDK!