Skip to content

change: Updated how to add Custom ILoggerProvider#55

Open
DiasAtBeamable wants to merge 1 commit intocore/v7.1from
core/update-custom-logger
Open

change: Updated how to add Custom ILoggerProvider#55
DiasAtBeamable wants to merge 1 commit intocore/v7.1from
core/update-custom-logger

Conversation

@DiasAtBeamable
Copy link
Copy Markdown

This PR updates the guide section created on PR 50 to match the new changes made in code.

updated how to ad a custom ILoggerProvider to a microservice after code changes.
```

## Setting a custom logger
# Setting a custom logger
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should be a "title heading"; instead, I think it should continue to be a major heading (two ##) and the "Example" section should be a sub-heading (three ###)

Copy link
Copy Markdown
Contributor

@allister-beamable allister-beamable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the improvements to tighten up the wording and use the more official-looking ".NET" styling. I think the Markdown headings need a bit of adjustment, but other than that, this is good to go!

```

## Setting a custom logger
# Setting a custom logger
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Setting a custom logger
## Setting a Custom Logger

| `defaultProcessor` | `DebugLogProcessor` | The default ZLogger async log processor that Beamable has already set up |
| **returns** | `DebugLogProcessor` | The processor that should actually be used — return `defaultProcessor` or `null` to keep the default, return a new instance to replace it |

## Example:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Example:
### Example of Logger Override

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants