View Source Tower (Tower v0.2.0)

Documentation for Tower.

Summary

Functions

@spec attach() :: :ok
@spec detach() :: :ok
Link to this function

equal_or_greater_level?(level1, level2)

View Source
Link to this function

handle_caught(kind, reason, stacktrace, options \\ [])

View Source
@spec handle_caught(
  Exception.kind(),
  Tower.Event.reason(),
  Exception.stacktrace(),
  Keyword.t()
) :: :ok
Link to this function

handle_exception(exception, stacktrace, options \\ [])

View Source
@spec handle_exception(Exception.t(), Exception.stacktrace(), Keyword.t()) :: :ok
Link to this function

handle_exit(reason, stacktrace, options \\ [])

View Source
@spec handle_exit(term(), Exception.stacktrace(), Keyword.t()) :: :ok
Link to this function

handle_message(level, message, options \\ [])

View Source
@spec handle_message(:logger.level(), term(), Keyword.t()) :: :ok
Link to this function

handle_throw(reason, stacktrace, options \\ [])

View Source
@spec handle_throw(term(), Exception.stacktrace(), Keyword.t()) :: :ok