Replies: 3 comments 2 replies
-
| Hi! It was done historically, prob. Cause it's the only method from the Serilog's  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Hello @tisonv! Added  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Thank you ! | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
You can inherit from LokiJsonTextFormatter and override pretty much everything but the Format function can not.
Is there a technical reason ?
In one of my project I only need very few of the available
logEvent.Propertiesbut couldn't add a whitelist to filter them.I ended using a custom internal class based on
LokiJsonTextFormatterbut I don't like it since I have to track any changes on the source file.I didn't notice any problem in Loki / Grafana without all my filtered properties.
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions