fix(pkg/logfile): read and write logfiles from json with measured value interface

This commit is contained in:
2019-06-26 23:16:26 +02:00
parent 003fe8ab9e
commit 072a902376
5 changed files with 145 additions and 131 deletions

View File

@ -33,7 +33,7 @@ func Start(cnf *config.Configuration, cleanCacheInterval time.Duration, compress
ctx := context.Background()
childContext, cancel := context.WithCancel(ctx)
logfile := logfile.New(cnf)
logfile := logfile.New(cnf.Device.TemperatureLogfile)
measuredValuesCache := make([]types.MeasuredValue, 0)