Skip to content

Commit

Permalink
Hide docs for some internal modules
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDryga committed May 14, 2024
1 parent 1845d5d commit 44e76af
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/logger_json/formatter/code.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
defmodule LoggerJSON.Formatter.Code do
@moduledoc false

@doc """
Provide a string output of the MFA log entry.
"""
Expand Down
2 changes: 2 additions & 0 deletions lib/logger_json/formatter/datetime.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
defmodule LoggerJSON.Formatter.DateTime do
@moduledoc false

@doc """
Returns either a `time` taken from metadata or current time in RFC3339 UTC "Zulu" format.
"""
Expand Down
2 changes: 2 additions & 0 deletions lib/logger_json/formatter/map_builder.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
defmodule LoggerJSON.Formatter.MapBuilder do
@moduledoc false

@doc """
Optionally put a value to a map.
"""
Expand Down
2 changes: 2 additions & 0 deletions lib/logger_json/formatter/message.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
defmodule LoggerJSON.Formatter.Message do
@moduledoc false

# crash
def format_message({:string, message}, %{crash_reason: crash_reason}, %{crash: crash_fmt}) do
crash_fmt.(message, crash_reason)
Expand Down
2 changes: 2 additions & 0 deletions lib/logger_json/formatter/metadata.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
defmodule LoggerJSON.Formatter.Metadata do
@moduledoc false

@ignored_metadata_keys ~w[ansi_color initial_call crash_reason pid gl mfa report_cb time]a

@doc """
Expand Down
2 changes: 2 additions & 0 deletions lib/logger_json/formatter/plug.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if Code.ensure_loaded?(Plug) do
defmodule LoggerJSON.Formatter.Plug do
@moduledoc false

alias Plug.Conn

@doc """
Expand Down

0 comments on commit 44e76af

Please sign in to comment.