Add logging functionality to BakaTxt