Skip to content

Instantly share code, notes, and snippets.

@larsw
Created November 11, 2015 10:12
Show Gist options
  • Save larsw/f435ac3c3ef26d81e320 to your computer and use it in GitHub Desktop.
Save larsw/f435ac3c3ef26d81e320 to your computer and use it in GitHub Desktop.
Serilog.Sinks.Serilog client-side
$(function() {
var serilog = $.connection.serilogHub;
serilog.client.sendLogEvent = function(logEvent) {
console.log(logEvent);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment