Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Aug 23, 2024
1 parent 69b2744 commit f40870a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tower/ephemeral_reporter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Tower.EphemeralReporter do
@moduledoc """
A very slim and naive built-in reporter, that just stores Tower events as process state.
Posibly useful for development or testing.
Possibly useful for development or testing.
"""
@behaviour Tower.Reporter

Expand Down
9 changes: 8 additions & 1 deletion lib/tower/event.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
defmodule Tower.Event do
@moduledoc """
A struct representing a captured event.
Tower converts every captured error and message into a struct of this type
before passing along to reporters.
"""

defstruct [
:id,
:datetime,
Expand All @@ -17,7 +24,7 @@ defmodule Tower.Event do
@type level :: :logger.level()

@typedoc """
A representation of a tower captured event.
A struct representing a captured event.
Tower converts every captured error and message into a struct of this type
before passing along to reporters.
Expand Down

0 comments on commit f40870a

Please sign in to comment.