Log message type.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=LOG_ID_LEN), | public | :: | id | = | UUID_DEFAULT | 
                 Database log id (mandatory).  | 
        |
| integer, | public | :: | level | = | LL_WARNING | 
                 Log level (mandatory).  | 
        |
| integer, | public | :: | error | = | E_NONE | 
                 Error code (optional).  | 
        |
| character(len=TIME_LEN), | public | :: | timestamp | = | TIME_DEFAULT | 
                 Timestamp, shall be in ISO 8601 plus milliseconds and time zone (mandatory).  | 
        |
| character(len=NODE_ID_LEN), | public | :: | node_id | = | ' ' | 
                 Sensor node id (optional).  | 
        |
| character(len=SENSOR_ID_LEN), | public | :: | sensor_id | = | ' ' | 
                 Sensor id (optional).  | 
        |
| character(len=TARGET_ID_LEN), | public | :: | target_id | = | ' ' | 
                 Target id (optional).  | 
        |
| character(len=OBSERV_ID_LEN), | public | :: | observ_id | = | ' ' | 
                 Observation id (optional).  | 
        |
| character(len=LOG_SOURCE_LEN), | public | :: | source | = | ' ' | 
                 Log message source (optional).  | 
        |
| character(len=LOG_MESSAGE_LEN), | public | :: | message | = | ' ' | 
                 Log message (mandatory).  |