From 1b582af196ca98c6f848ffbd660e9ffec9ec31ab Mon Sep 17 00:00:00 2001 From: Mark Allen Date: Wed, 30 Mar 2016 12:27:20 -0500 Subject: [PATCH] Export configure_sink/2 for runtime sink config Address #286. This will enable applications to dynamically configure log sinks, provided they have already instrumented the code via parse transformation to use those sinks. --- src/lager_app.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lager_app.erl b/src/lager_app.erl index b8c01eb..540a0b2 100644 --- a/src/lager_app.erl +++ b/src/lager_app.erl @@ -28,6 +28,7 @@ -export([start/0, start/2, start_handler/3, + configure_sink/2, stop/1]). %% The `application:get_env/3` compatibility wrapper is useful