Hyper.Firecracker.Api.Logger (Hyper v0.1.0)

Copy Markdown View Source

Provides struct and type for a Logger

Summary

Functions

Build a Hyper.Firecracker.Api.Logger from a decoded-JSON map. Compile-time generated.

Types

t()

@type t() :: %Hyper.Firecracker.Api.Logger{
  __info__: any(),
  level: String.t() | nil,
  log_path: String.t() | nil,
  module: String.t() | nil,
  show_level: boolean() | nil,
  show_log_origin: boolean() | nil
}

Functions

decode(data)

@spec decode(term()) :: t() | nil | term()

Build a Hyper.Firecracker.Api.Logger from a decoded-JSON map. Compile-time generated.