Fully implements functional logs system.