Optional consoleOptional fileWhether file logging is enabled. Default is true. Corresponding environment variable: FILE_LOG
Optional logWhether to log detailed error information. Default is true.
Optional logThe minimimum log level that will be output. Default is "info". Corresponding environment variable: LOG_LEVEL
Optional port?: numberThe API's port number. Default is 8000. Corresponding environment variable: PORT.
Optional preferWhether to prefer environment variables to configure the api. Default is false.
Optional units?: Partial<UnitConfiguration>The default units. Important: Weather data uploads have to use these units! Corresponding environment variables: RAIN_UNIT, TEMPERATURE_UNIT, ...
Generated using TypeDoc
Whether the console log is enabled. Default is
true. Corresponding environment variable:CONSOLE_LOG