inline console logging