Basic logger mechanism