summaryrefslogtreecommitdiff
path: root/lib/logger/mix.exs
blob: 4a272aae57cc5da223cdd6bd1306970de3efc6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
defmodule Logger.MixProject do
  use Mix.Project

  def project do
    [
      app: :logger,
      version: System.version(),
      build_per_environment: false
    ]
  end

  def application do
    [
      registered: [Logger, Logger.Supervisor],
      mod: {Logger.App, []},
      env: [
        utc_log: false,
        truncate: 8096,
        translators: [{Logger.Translator, :translate}],
        handle_otp_reports: true,
        handle_sasl_reports: false,
        always_evaluate_messages: false,
        compile_time_purge_matching: [],
        compile_time_application: nil,
        translator_inspect_opts: [],
        start_options: [],
        sync_threshold: 20,
        discard_threshold: 500,
        discard_threshold_periodic_check: 30_000,
        metadata: []
      ]
    ]
  end
end