mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-31 20:50:22 +08:00
247772df3b
Logtrace is a component that could output the log into either a device or a file. It has the ability to filter the log messages according to a pre-module level. Define RT_USING_LOGTRACE in rtconfig.h if you want to have a try.
10 lines
194 B
Python
10 lines
194 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
CPPPATH = [cwd]
|
|
|
|
group = DefineGroup('LogTrace', src, depend = ['RT_USING_LOGTRACE'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|