Logger.alert

You're seeing just the macro alert, go back to Logger module for more information.
Link to this macro

alert(message_or_fun, metadata \\ [])

View Source (macro) (since 1.11.0)

Logs a alert message.

Returns :ok.

This is reported as "error" in Elixir's logger backends for backwards compatibility reasons.

Examples

Logging a message (string or iodata):

Logger.alert("this is a alert message")

Report message (maps or keywords):

# as keyword list
Logger.alert([something: :reported, this: :alert])

# as map
Logger.alert(%{something: :reported, this: :alert})