bunyan_shared v0.1.0 Bunyan.Shared.LogMsg
This is the structure the defines a message to be logged.
levelis the level to be logged. Current levels are 0, 10¸20, and 30 fordebug,info,warn, anderror.msgis either a binary or a function of arity 0 that returns a binaryextrais an Elixir term that will be inspected and displayed on the lines following the log messagetimestampis the :os.timestamp of when this message was generated.pidis the process identifier of the process generating the messagenodeis the node on which that process lived
Link to this section Summary
Link to this section Types
Link to this type
t()
t() :: %Bunyan.Shared.LogMsg{
level: level_as_number(),
msg: binary() | (() -> binary()),
extra: any(),
timestamp: non_neg_integer(),
pid: pid(),
node: atom()
}