typonf:ElixirErlang的类型化运行时配置

时间:2024-06-05 13:13:45
【文件属性】:

文件名称:typonf:ElixirErlang的类型化运行时配置

文件大小:6KB

文件格式:ZIP

更新时间:2024-06-05 13:13:45

erlang elixir configuration env distillery

Elixir / Erlang的类型化运行时配置 很酷,但它只能提供二进制值。 这个小巧的脚本会将您的基于ENV的运行时配置转换为适当的值(原子,整数,布尔值)。 您是否曾经想在运行时设置记录器级别? # config/prod.exs config :logger, level: "${LOG_LEVEL}" # LOG_LEVEL=warn iex(hello@127.0.0.1)3> Logger.warn "hello" ** (FunctionClauseError) no function clause matching in Logger.level_to_number/1 The following arguments were given to Logger.level_to_number/1: # 1 "warn" 现在你可


【文件预览】:
typonf-master
----README.md(2KB)
----test()
--------test.sh(360B)
--------testapp()
----LICENSE(1KB)
----typonf.sh(1KB)

网友评论