Created
November 11, 2015 10:12
-
-
Save larsw/f435ac3c3ef26d81e320 to your computer and use it in GitHub Desktop.
Serilog.Sinks.Serilog client-side
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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