So what i am trying to do is this:
Whenever a module calls ?DEBUG() OR ?INFO() OR ?WARNING() ETC (DEBUG, INFO, WARNING are macros defined as APPNAME:debug/APPNAME:info/APPNAME:warning ETC respectively) and APPNAME is also another macro which is defined as - application:get_application(), so that whenever an app's module or process calls ?DEBUG/?WARNING/?INFO the log will go to there respective app's lager sink. But i get the following error:
{'module could not be loaded',APPNAME HERE}
I don't get why i am getting this error since i have already set up the extra lager sinks in config. Please help.