logi_ex v0.1.1 Logi.Context

Log Message Context.

Summary

Types

A context

Functions

Returns true if x is a context/0 value, false otherwise

Gets the channel of context

Gets the headers of context

Gets the location of context

Gets the metadata of context

Gets the severity of context

Gets the timestamp of context

Types

context()

A context.

Functions

context?(context)
context?(any) :: boolean

Returns true if x is a context/0 value, false otherwise.

get_channel(context)
get_channel(context) :: Logi.Channel.id

Gets the channel of context.

get_headers(context)
get_headers(context) :: Logi.headers

Gets the headers of context.

get_location(context)
get_location(context) :: Logi.Location.location

Gets the location of context.

get_metadata(context)
get_metadata(context) :: Logi.metadata

Gets the metadata of context.

get_severity(context)
get_severity(context) :: Logi.severity

Gets the severity of context

get_timestamp(context)
get_timestamp(context) :: :erlang.timestamp

Gets the timestamp of context.