Home / Function/ logerror() — express Function Reference

logerror() — express Function Reference

Architecture documentation for the logerror() function in application.js from the express codebase.

Entity Profile

Dependency Diagram

graph TD
  d2fb5619_ae60_5eb5_0dcf_fc7140ebfa3b["logerror()"]
  43601c42_126e_f8a7_ae10_39339f46382e["application.js"]
  d2fb5619_ae60_5eb5_0dcf_fc7140ebfa3b -->|defined in| 43601c42_126e_f8a7_ae10_39339f46382e
  style d2fb5619_ae60_5eb5_0dcf_fc7140ebfa3b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

lib/application.js lines 615–618

function logerror(err) {
  /* istanbul ignore next */
  if (this.get('env') !== 'test') console.error(err.stack || err.toString());
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does logerror() do?
logerror() is a function in the express codebase, defined in lib/application.js.
Where is logerror() defined?
logerror() is defined in lib/application.js at line 615.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free