The following sample provides recommended example to demonstrate unstructured and structured logging.
Use the following command to build and deploy all examples to the Code Engine project of your choice.
ibmcloud ce project select --name <your-project-name>
./run all
For structured logs, following libraries have been used:
- Node.js: winston
- Python: Loguru
- Java: SLF4J, Logback
- Golang: built-in slog