Skip to content

Log function #2987

Description

@jf-uu

Is your feature request related to a problem?
When printing out custom messages from pipelines and commands, they don't match DevSpace's output style.

Which solution do you suggest?
A new log function exposed by DevSpace which takes level and message parameters:

log info "Hello, world!"

The message output should match the devspace output format (i.e. colored level followed by message).

Which alternative solutions exist?
echo

Additional context
Happy to open a PR for this if this feature is desirable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions