Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add aspnetcore adapter and samples #381

Merged
merged 4 commits into from Dec 27, 2018
Merged

add aspnetcore adapter and samples #381

merged 4 commits into from Dec 27, 2018

Conversation

lust4life
Copy link
Contributor

migrate repo from https://github.com/logary/AspNetCore into logary

@lust4life
Copy link
Contributor Author

@haf can you update travis/appveyor settings, turn Build pushed branches off, this will reduce half same ci checks for pull request.

@lust4life
Copy link
Contributor Author

and the failed travis ci caused by The job exceeded the maximum log length, and has been terminated. , this may be a mis-compare changes by paket, see fsprojects/Paket#3464

Temporarily ignore checks for ci passed, after pr above have been merged and update paket, can revert this ignore check changes

@lust4life
Copy link
Contributor Author

@haf hi,
can you help merge and make a release, or are there any concerns from your point of view ?

@haf
Copy link
Member

haf commented Dec 27, 2018

@lust4life It's just been a lot of xmas here, away from the laptop. Let me read through it.

[<AutoOpen;Extension>]
module ILoggingBuilderExtensions =

[<Extension>]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use CompiledName here, than to use a non-standard method signature for this project; that way, if you use this code from C#, you'll have the NameCasedLikeThis.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got you. in pr #384 fixed

{
"Logging": {
"LogLevel": {
"Default": "Warning"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be lower? To let Logary handle the levels?

Copy link
Contributor Author

@lust4life lust4life Dec 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are two ways, let aspnet core pass all message to logary or vice versa, here is aspnet core logging way to handle rules and levels.

@@ -0,0 +1,28 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be launched on macOS? (just curious)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, dotnet run this proj, then browser http://localhost:5000/api/TestScope

@haf haf merged commit a8be6fe into master Dec 27, 2018
@haf haf deleted the aspnet-core-adapter branch December 27, 2018 19:39
@lust4life
Copy link
Contributor Author

It's just been a lot of xmas here, away from the laptop. Let me read through it.

sorry forget that, and 🎄 merry xmas & happy new year 🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants