chore: add resource tag for log

This commit is contained in:
zhongwencool 2024-07-17 16:05:16 +08:00 committed by zmstone
parent 60aefd1065
commit 8dc1d1424a
1 changed files with 8 additions and 0 deletions

View File

@ -167,4 +167,12 @@
).
-define(TAG, "RESOURCE").
-define(LOG_LEVEL(_L_),
case _L_ of
true -> info;
false -> warning
end
).
-define(TAG, "RESOURCE").
-define(RESOURCE_ALLOCATION_TAB, emqx_resource_allocations).