Leaf Property
A log line in the hierarchy tree represents either an end node (leaf) or the start of a new log block. Method IS_LEAF() enables this property to be queried easily.
If IS_LEAF() returns the value abap_false, the attribute AP_CURRENT_BLOCK points to the relevant associated log block instance, which can be further explored in the methods described in the section Log Blocks.