Basic logging utility.