elixir - How to provide different log levels to the loggers in the mix application? -


i installed rollbax package, provides ability log output rollbar via rollbax.logger module. problem want have level: :info default elixir :console logger , level: :error rollbax.logger.

how can that?

you can in config.exs, this.

config :logger,   backends:     [       :console,       {rollbax.logger, :rollbax}     ]  config :logger, :console,   metadata: [:application, :module, :function, :file, :line],   metadata_filter: [],   compile_time_purge_level: :info,   level: :info  config :logger, :rollbax,   metadata: [:application, :module, :function, :file, :line],   metadata_filter: [],   compile_time_purge_level: :error,   level: :error 

Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -