Skip to content

Log_e message more precise #275

Description

@GitHubLionel

Platform

ESP32

IDE / Tooling

Arduino (IDE/CLI)

What happened?

Sometimes I have the message: "Failed to allocate" in my log.
Problem, this message come from log_e("Failed to allocate"); and is the same in several files (WebSocket, WebHandlers, WebRequest, WebResponces, ...). So I can not find where the message is created.
Is it possible to add the name of the function in the message like: Failed to allocate in ...

Stack Trace

no stack trace

Minimal Reproductible Example (MRE)

General code

I confirm that:

  • I have read the documentation.
  • I have searched for similar discussions.
  • I have searched for similar issues.
  • I have looked at the examples.
  • I have upgraded to the lasted version of ESPAsyncWebServer (and AsyncTCP for ESP32).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions