Make custom log command work as normal console commands