log_type Derived Type

type, public :: log_type

Log message type.


Components

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).