logError() — react Function Reference
Architecture documentation for the logError() function in run_devtools_e2e_tests.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 28aa116e_e9ec_a7a6_5770_77a1c33f5403["logError()"] 78a11329_415e_c941_dd54_1e297b28e203["run_devtools_e2e_tests.js"] 28aa116e_e9ec_a7a6_5770_77a1c33f5403 -->|defined in| 78a11329_415e_c941_dd54_1e297b28e203 19d9ee7b_a1d8_275c_f5ea_2c281b50fe99["buildInlinePackage()"] 19d9ee7b_a1d8_275c_f5ea_2c281b50fe99 -->|calls| 28aa116e_e9ec_a7a6_5770_77a1c33f5403 42885c2a_96a4_eff2_6f22_422526901e2f["runTestShell()"] 42885c2a_96a4_eff2_6f22_422526901e2f -->|calls| 28aa116e_e9ec_a7a6_5770_77a1c33f5403 3adf197f_a59b_1c37_d94a_1af13936d213["exitWithCode()"] 3adf197f_a59b_1c37_d94a_1af13936d213 -->|calls| 28aa116e_e9ec_a7a6_5770_77a1c33f5403 6253ba5c_423a_138c_ef31_f8322f5c5131["format()"] 28aa116e_e9ec_a7a6_5770_77a1c33f5403 -->|calls| 6253ba5c_423a_138c_ef31_f8322f5c5131 style 28aa116e_e9ec_a7a6_5770_77a1c33f5403 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/ci/run_devtools_e2e_tests.js lines 43–48
function logError(loggable) {
const formatted = format(loggable, 2);
if (formatted !== '') {
console.error(`\x1b[31m${formatted}\x1b[0m`);
}
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does logError() do?
logError() is a function in the react codebase, defined in scripts/ci/run_devtools_e2e_tests.js.
Where is logError() defined?
logError() is defined in scripts/ci/run_devtools_e2e_tests.js at line 43.
What does logError() call?
logError() calls 1 function(s): format.
What calls logError()?
logError() is called by 3 function(s): buildInlinePackage, exitWithCode, runTestShell.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free