C++ logging using ostream

前端 未结 3 1669
鱼传尺愫
鱼传尺愫 2021-01-17 04:02

I\'m making a logger. I want to create a function log() that takes a stream as input.

For instance:

log(\"hello\"<<\" \"<<\"         


        
3条回答
提交回复
热议问题