Skip to content

Commit 4be1673

Browse files
authored
Update README.md
1 parent 82e3139 commit 4be1673

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# JavaScript Logging
2-
Forwards JavaScript logs to ASP.NET Core applications.
2+
Forwards JavaScript console logs to ASP.NET Core applications.
33

44
| Windows | Linux | NuGet |
55
| --- | --- | --- |
66
| [![Windows Build status](https://ci.appveyor.com/api/projects/status/rnf0a0wpsi8td146?svg=true)](https://ci.appveyor.com/project/henkmollema/logging-javascript) | [![Linux Build Status](https://travis-ci.com/webenablebv/Logging.JavaScript.svg?branch=master)](https://travis-ci.com/webenablebv/Logging.JavaScript) | [![NuGet](https://img.shields.io/nuget/vpre/Webenable.Logging.JavaScript.svg)](https://www.nuget.org/packages/Webenable.Logging.JavaScript) |
77

8-
JavaScript Logging is a small library which forwards client-side JavaScript logging via `console.info`, `console.error`, etc. to your ASP.NE Core application and calls logs the message with the equivalent using the `ILogger` interface.
8+
JavaScript Logging is a small library which forwards client-side JavaScript logging via `console.info`, `console.error`, etc. to your ASP.NE Core application and logs the message with the equivalent log level using the `ILogger` interface. This library is inspired by the [blogpost](http://hishambinateya.com/integrate-javascript-logging-with-asp.net-core-logging-apis) and [sample application](https://github.com/hishamco/jsLogger) of Hisham and I took the liberty to create a NuGet package from his idea.
99

1010
## Getting started
1111

@@ -26,10 +26,10 @@ public void ConfigureServices(IServiceCollection services)
2626
}
2727
```
2828

29-
The library will automatically inject the necessary JavaScript and register a middlware to handle the log HTTP requests.
29+
The library will automatically inject the necessary JavaScript and register a middleware to handle the logging HTTP requests.
3030

3131
## Dependencies
32-
The library uses jQuery to post log messages to the server using AJAX. Please make sure that jQuery is available when using this library.
32+
The library uses jQuery to post log messages to your application using AJAX. Please make sure that jQuery is available when using this library.
3333

3434
## Using the library
3535

@@ -40,3 +40,5 @@ Any calls to the following `console` methods are intercepted and will post a log
4040
- `console.info`
4141
- `console.warn`
4242
- `console.error`
43+
44+
Please note that the `console.log` method is _not_ intercepted.

0 commit comments

Comments
 (0)