Extends log() method with additional optional parameters and provides getters for internal properties