Convert OC_Log to object so it can be used for DI

@Raydiation @DeepDiver1975 @MTGap @karlitschek @icewind1991