Comments (7)
Hi @spointeau! Passing a JsonValueFormatter
with null
type tag name will do this:
new CompactJsonFormatter(new JsonValueFormatter(null))
Let me know if this does the trick!
Best regards,
Nick
from serilog-formatting-compact.
I tried this yes, but nothing changed ...
from serilog-formatting-compact.
Here it is working for me:
from serilog-formatting-compact.
does it work also when using ForContext() with destructure = true ?
(I only tested this case)
from serilog-formatting-compact.
Yes, exactly the same difference in output here 👍
from serilog-formatting-compact.
@nblumhardt I retested and it also works for me. I even found out the logs from Friday that it also worked previously (Friday). My deep apologies to have made you lost your time here.
from serilog-formatting-compact.
That's no problem at all - happy to help 👍
from serilog-formatting-compact.
Related Issues (20)
- Is it possible to have method of changing timezone from UTC timezone to system time zone? HOT 1
- Is there a built-in way to combine JSON formatted events into a single JSON object (file) using Serilog? HOT 2
- Include Information level to the log HOT 1
- Custom mapping for context properties HOT 2
- Add Ability to log timestamps in local time with offset HOT 2
- Add built-in field name for EventId HOT 8
- Why Information levels are ommited? HOT 3
- Allow overrides for @mt and @t HOT 5
- How to change property names HOT 1
- Publish the CLEF format via GitHub Pages HOT 1
- Won't compile when referencing Serilog.Formatting.Compact in Azure DevOps HOT 1
- Question: Is it possible to camelcase the properties? HOT 2
- Optionally ignore null fields HOT 1
- RenderedCompactJsonFormatter doesn't allow control of Exception format HOT 3
- CompactJsonFormatter and RenderedCompactJsonFormatter options HOT 3
- Supply `IFormatProvider` to `CompactJsonFormatter`/`RenderedCompactJsonFormatter`
- Migrate to GitHub Actions? HOT 2
- using of RenderedCompactJsonFormatter in XML for the version 2.0.0 in Dotnet framework 4.8 make System.MissingMethodException HOT 2
- How to add more properties with a `@` sigil? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serilog-formatting-compact.