loopbackio / loopbackio/loopback-next

Log extension is not printing any logs

Open
#2,173 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Docs Examples Extensions good first issue
Dominant language
TypeScript
Stars
5.1k
Forks
1.1k
Avg merge
2d 21h
Merged PRs (30d)
27

Description

Description / Steps to reproduce / Feature proposal

The log extension provided as an example doesn't have any documentation on what to expect after implementing the LogMixin. It looks like it should print some logs for every configured controller method.

Current Behavior

There are no logs on console. And there is no example how to write custom logs. It's just not clear.

Expected Behavior

Docs should describe the whole thing when giving an example. A log extension is supposed to log. But where will the logs appear? How do I know things are working properly?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the log extension example and its LogMixin usage first. Update the documentation to explain where logs should appear, how to verify that logging works for configured controller methods, and how to write custom logs; the issue is done when the example's expected output and customization path are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.