Skip to content

Commit

Permalink
Fixed README.md indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Giménez <alexx091@gmail.com>
  • Loading branch information
alex-gimenez committed Oct 6, 2020
1 parent 9c456c0 commit ca4504f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,18 @@ Here are some simple samples. Before running them,**it is important to change th

- Library configuration: This sample shows how to change the logging behaviour and file devices that the library uses. The library works with the default parameters, making its use optional.

```reStructuredText
```
PROGRAM _INIT
IotMqttConfigParams.UseLogger := TRUE;
IotMqttConfigParams.LoggerName := 'IotMqtt';
IotMqttConfigParams.UseFile := TRUE;
IotMqttConfigParams.LogFileDevice := 'USER';
IotMqttConfigParams.LogFileName := 'IotMqttLog';
IotMqttConfigParams.AppendTimestamp := FALSE;
IotMqttConfigParams.OverwritteLogs := TRUE;
IotMqttConfigParams.LogLevel := IOTMQTT_LOG_LEVEL_PROTOCOL;
IotMqttConfigParams.PersistenceFileDevice := 'PERSIST';
IotMqttConfig(ADR(IotMqttConfigParams));
IotMqttConfigParams.UseLogger := TRUE;
IotMqttConfigParams.LoggerName := 'IotMqtt';
IotMqttConfigParams.UseFile := TRUE;
IotMqttConfigParams.LogFileDevice := 'USER';
IotMqttConfigParams.LogFileName := 'IotMqttLog';
IotMqttConfigParams.AppendTimestamp := FALSE;
IotMqttConfigParams.OverwritteLogs := TRUE;
IotMqttConfigParams.LogLevel := IOTMQTT_LOG_LEVEL_PROTOCOL;
IotMqttConfigParams.PersistenceFileDevice := 'PERSIST';
IotMqttConfig(ADR(IotMqttConfigParams));
END_PROGRAM
```

Expand Down

0 comments on commit ca4504f

Please sign in to comment.