This is a shared logger library for all Crownstone node libraries and projects. It is based on winston.
These can be set (including defaults):
CS_FILE_LOGGING_BASENAME='crownstone-log'
CS_FILE_LOGGING_LEVEL='info'
CS_CONSOLE_LOGGING_LEVEL='info'
CS_ENABLE_FILE_LOGGING=
It is possible to set a process argument --silent
. Moreover, file logging is not enabled when CS_ENABLE_FILE_LOGGING
isn't present in the environment.
This software is provided under a noncontagious open-source license towards the open-source community. It's available under three open-source licenses:
- License: LGPL v3+, Apache, MIT
This software can also be provided under a commercial license. If you are not an open-source developer or are not planning to release adaptations to the code under one or multiple of the mentioned licenses, contact us to obtain a commercial license.
- License: Crownstone commercial license
For any question contact us at https://crownstone.rocks/contact/ or on our discord server through https://crownstone.rocks/forum/.