When comparing JSNLog vs Serilog, the Slant community recommends Serilog for most people. In the question“What are the best .NET logging frameworks?” Serilog is ranked 2nd while JSNLog is ranked 6th.
Ranked in these QuestionsQuestion Ranking
Pro Integrates with your existing server-side logging package
Not a hosted option, so you'll store client-side logs along with your server-side logs.
Pro Stack traces
JSNLog passes exception log messages with its stack trace.
Pro Can log structured data
Pro Flexible configuration options
Configuring directly or using appsettings is fairly and there are many examples available.
Pro Multiple extensions
You can easily configure it to log into Console / File / Seq / ElasticSearch / etc.
Pro Log Enricher and Log Context features
Easily and extensibly enrich your log messages with contextual information such as thread or request ID.
Pro Is portable between recent .NET platforms
Con No hosted option
You'll have to store client-side logs along with your server-side logs.
Con No reporting capabilities
Your server logging solution should provide that, and JSNlog integrates with Elmah, Log4Net, NLog, Serilog, Common.Logging.
Con Documentation is distributed among plugins
Determining what logger, formatter, option is more difficult because documentation is associated with each component.