Skip to content

Commit

Permalink
fix typespec
Browse files Browse the repository at this point in the history
  • Loading branch information
satoren committed Jan 23, 2025
1 parent f90732f commit 64533d6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/logger_proxy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ defmodule Mediasoup.LoggerProxy do
}
end

@type config :: [
max_level: :off | :error | :warn | :info | :debug,
filter: (Record.t() -> boolean()) | nil
]
@type config ::
{:max_level, :off | :error | :warn | :info | :debug}
| {:filter, (Record.t() -> boolean()) | nil}

@spec start_link([config]) :: :ignore | {:error, any} | {:ok, pid}
def start_link(config \\ []) do
Expand Down

0 comments on commit 64533d6

Please sign in to comment.