Simple but efficient logging facility