databricks-cli/libs/cmdio
Serge Smertin 24ebfdf31e
Add readable console logger (#370)
## Changes

Add a readable colored console logger that is active only for TTYs:

<img width="764" alt="image"
src="https://user-images.githubusercontent.com/259697/235221427-ca482b32-9f88-4adb-ada3-8c4f35f50f06.png">

## Tests

Run `go run main.go clusters list --log-level debug --profile demo`
2023-06-01 11:37:33 +02:00
..
context.go Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
error_event.go Use cmdio logger to log bricks cmd execution errors (#348) 2023-04-24 12:11:52 +02:00
event.go Move state to event for whether they support inplace progress logging (#339) 2023-04-18 14:20:35 +02:00
io.go Add readable console logger (#370) 2023-06-01 11:37:33 +02:00
logger.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
logger_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
message_event.go Log mutator messages using progress logger (#312) 2023-04-18 16:55:06 +02:00
render.go Added OpenAPI command coverage (#357) 2023-04-26 13:06:16 +02:00