Basic logger implementation