mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-07 00:02:53 +08:00
change logger level (#10944)
Co-authored-by: caoqisen <qisen.cao@cocos.com>
This commit is contained in:
@@ -291,8 +291,8 @@ export function load (app: Application) {
|
||||
continue;
|
||||
}
|
||||
const printUnableResolve = (iSegment: number) => {
|
||||
_context.logger.error(`Failed to resolve ${segments[iSegment]} in ${match[0]} `
|
||||
+ `referenced in ${getLocation()}`);
|
||||
_context.logger.warn(`Failed to resolve ${segments[iSegment]} in ${match[0]} `
|
||||
+ `referenced in ${!node ? '<unknown-location>' : node.getText()}`);
|
||||
};
|
||||
let targetReflection = resolveUnqualifiedReflection(segments[0]);
|
||||
if (!targetReflection) {
|
||||
|
||||
Reference in New Issue
Block a user