Skip to content

chrome extension for server side console logging with .NET

License

Notifications You must be signed in to change notification settings

mindplay-dk/chromelogger-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logo

ChromeLogger

The .NET Version of chromelogger. Add output to the Chrome console from your .NET application's server-side code.

Install with NuGet: http://nuget.org/packages/ChromeLogger/

Setup

At the end of your request, you'll need to set the custom ChromeLogger header, here's an example:

public class WebApiApplication : HttpApplication
{
    protected void Application_EndRequest(Object sender, EventArgs e)
    {
        Context.Response.Headers.Add(Logger.GetHeader());
    }
}

Version 0.1.2

The most notable change is the requirement to manually add the header at the end of the request

Version 0.1.1

Improved the API a bit by adding a dependency on System.Web so calls such as Logger.Log() will add the header directly to the response.

Version 0.1.0

A very crude implementation. Largely untested, please file any bugs or issues on the GitHub issues page. I'm open to any and all suggestions to make this work better, please share your thoughts as issues.

License

The MIT License - Copyright (c) 2013 Chris Missal

About

chrome extension for server side console logging with .NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%