MonkeyDev 的 MDConfig 怎么配置求助

MonkeyDev 的 MDConfig 怎么配置求助

https://github.com/AloneMonkey/MonkeyDev-Xcode-Templates/blob/master/MonkeyApp.xctemplate/Config/MDConfig.plist

如下,其中WCListViewController和WCTimeLineViewController是你想hook的类

<plist version="1.0">
<dict>
	<key>MethodTrace</key>
	<dict>
		<key>LogLevel</key>
		<integer>1</integer>
		<key>LogWhen</key>
		<integer>0</integer>
		<key>LogRegexString</key>
		<string></string>
		<key>TraceFlag</key>
		<integer>4</integer>
		<key>TraceObject</key>
		<integer>1</integer>
		<key>ClassRegexString</key>
		<string></string>
		<key>CORE_CLASS_LIST</key>
		<dict>
			<key>WCListViewController</key>
			<dict>
				<key>TraceMode</key>
				<integer>1</integer>
				<key>TraceFlag</key>
				<integer>4</integer>
			</dict>
			<key>WCTimeLineViewController</key>
			<dict>
				<key>TraceMode</key>
				<integer>1</integer>
				<key>TraceFlag</key>
				<integer>4</integer>
			</dict>
		</dict>
		<key>USER_CLASS_LIST</key>

大佬,那我这样设置完之后,是在xcode的log输出那里,过滤我设置的类嘛,比如我MDConfig里设置了ABC类,然后log过滤那里,过滤ABC嘛

https://bbs.pediy.com/thread-265106.htm 参考这个