Skip to content

Provide 'swift' logging API #2

@flavio

Description

@flavio

A policy author should be able to generate logs from within a policy.

These log messages are going to be picked by the waPC host, which will process them according to its configuration.

This is part of kubewarden/policy-server#73

Acceptance criteria

  • User can use simple string messages
  • User can do structured logging if wanted: simple string message + dictionary with key/values
  • The following log levels are available: debug, info, warning, error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions