How to create a Custom text formatter for Cloudwatch?
问题 I don't understand how to create a custom text formatter for Amazon Cloudwatch as mentioned: var formatter = new MyCustomTextFormatter(); I am trying to write Serilog logs to Amazon CloudWatch instead of the local hard disk. To do that I am following this repo: https://github.com/Cimpress-MCP/serilog-sinks-awscloudwatch private readonly ITextFormatter textFormatter; public ILoggerFactory ConfigureLogger() { LoggerFactory factory = new LoggerFactory(); var logGroupName = "myLoggrouName"; var