Skip to content

Use CompactJsonFormatter for console sink in elastic logger - #23

Merged
mmalkhatib merged 1 commit into
mainfrom
muhannad/elastic-console-json-formatter
Aug 26, 2026
Merged

Use CompactJsonFormatter for console sink in elastic logger#23
mmalkhatib merged 1 commit into
mainfrom
muhannad/elastic-console-json-formatter

Conversation

@mmalkhatib

Copy link
Copy Markdown
Contributor

Summary

  • Console sink in SW.Logger.ElasticSearch now matches SW.Logger.Console's behavior: plain console output when a debugger is attached, CompactJsonFormatter otherwise.
  • Elasticsearch sink logic is unchanged.

Test plan

  • dotnet build SW.Logger.ElasticSearch/SW.Logger.ElasticSearch.csproj succeeds

Matches SW.Logger.Console's pattern: plain console output while
debugging, structured JSON otherwise.
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: simplify9/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 60cac738-ad34-4723-80f7-29fc54f54d96


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mmalkhatib
mmalkhatib merged commit c6c9eac into main Aug 26, 2026
5 checks passed
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