我有这段代码,只想记录数组的大小: auto owner = abi_data["owner"].as<chain::authority>();ilog(arrSize); 但是有一个错误: error: no matching constructor for initialization of 'fc::log_message' 我怎么才能修复它如何从auto owner中获
我有一个名为MyClass的类,它使用两个不同的记录器,名为Logger1和Logger2。我使用log4net进行日志记录,并希望对DI使用StructureMap。Logger2.Info("need to log this elsewhere"); }
使用StructureMap (使用v3.0.3)引入DI,我将使记录器实例成员,并将它们注入构造函数中,如:公共类MyClass {私有只读ILog</