HostKit.Logs.Config (host_kit v0.1.0-beta.1)

Copy Markdown View Source

Declarative log management intent.

Summary

Types

t()

@type t() :: %HostKit.Logs.Config{
  attributes: map(),
  driver: atom() | nil,
  format: atom() | nil,
  identifier: String.t() | atom() | nil,
  max_use: String.t() | nil,
  meta: map(),
  resource_id: term(),
  retention: String.t() | nil,
  rotate: keyword(),
  sensitive: boolean(),
  ship: boolean() | nil,
  source: term(),
  stderr: atom() | nil,
  stdout: atom() | nil
}

Functions

new(attrs)

@spec new(map() | keyword()) :: t()