glog/field

Types

Field representation

pub type Field {
  Field(key: String, value: Dynamic)
}

Constructors

  • Field(key: String, value: Dynamic)

Type alias representing a Field list

pub type Fields =
  List(Field)

Functions

pub fn key(field: Field) -> String

Fetches key from Field

pub fn new(key: String, value: a) -> Field

Initializes a new Field

pub fn value(field: Field) -> Dynamic

Fetches value from Field

Search Document