Skip to content

Log function #2987

@jf-uu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureNew feature or feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions