nicobarray / aquedux

Redux over the wire
46 stars 3 forks source link

Use configManager to handle configuration, not env vars #20

Closed nicobarray closed 6 years ago

nicobarray commented 6 years ago

Currently we can set the logger's level with the AQUEDUX_LOG_LEVEL env var and also through the createAqueduxClient(store, option) 2nd parameter.

It would be better to handle configuration in a single spot - the configManager. If someone wants to use an env var he can use it to parameterize the said option parameter.

Todo: