https://github.com/SteeltoeOSS/Logging
Logging Extensions
https://github.com/SteeltoeOSS/Logging
logging
Last synced: 10 months ago
JSON representation
Logging Extensions
- Host: GitHub
- URL: https://github.com/SteeltoeOSS/Logging
- Owner: SteeltoeOSS
- License: apache-2.0
- Archived: true
- Created: 2017-08-07T11:54:47.000Z (over 8 years ago)
- Default Branch: dev
- Last Pushed: 2019-05-15T14:03:16.000Z (almost 7 years ago)
- Last Synced: 2024-11-13T04:54:15.970Z (over 1 year ago)
- Topics: logging
- Language: C#
- Size: 133 KB
- Stars: 16
- Watchers: 10
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# .NET Logging Extensions
> NOTICE: This repository has been relocated as a sub-directory under the [Steeltoe](https://github.com/SteeltoeOSS/steeltoe) repository. All issues and future development will be done under that repository.
This repo contains a Logging extension that when used with the Steeltoe Management Logger Endpoint enables changing the Logging levels for a running application dynamically using the Pivotal Apps manager console.
This logger is simply a wrapper around the Microsoft Console logger, but enables querying and dynamically changing the logging levels of all the currently active loggers.
Windows Master (Stable): [](https://ci.appveyor.com/project/steeltoe/Logging)
Windows Dev (Less Stable): [](https://ci.appveyor.com/project/steeltoe/logging)
Linux/OS X Master (Stable): [](https://travis-ci.org/SteeltoeOSS/Logging)
Linux/OS X Dev (Less Stable): [](https://travis-ci.org/SteeltoeOSS/Logging)
## .NET Runtime & Framework Support
Like the ASP.NET Core Logging providers, these providers are intended to support both .NET 4.6+ and .NET Core (CoreCLR/CoreFX) run-times. The providers are built and unit tested on Windows, Linux and OSX.
While the primary usage of the providers is intended to be with ASP.NET Core applications, they should also work fine with UWP, Console and ASP.NET 4.x apps.
Currently all of the code and samples have been tested on .NET Core 1.1, .NET 4.6.x, and on ASP.NET Core 1.1.0.
## Usage
See the [Steeltoe documentation](https://steeltoe.io/) for information on how to use these components in your applications.
## Nuget Feeds
All new configuration provider development is done on the dev branch. More stable versions of the providers can be found on the master branch. The latest prebuilt packages from each branch can be found on one of two MyGet feeds. Released version can be found on nuget.org.
- [Development feed (Less Stable)](https://www.myget.org/gallery/steeltoedev)
- [Master feed (Stable)](https://www.myget.org/gallery/steeltoemaster)
- [Release or Release Candidate feed](https://www.nuget.org/).
## Building Pre-requisites
To build and run the unit tests:
1. .NET Core SDK
## Building Packages & Running Tests - Windows
To build the packages on windows:
1. git clone ...
2. cd clone directory
3. Install .NET Core SDK
4. dotnet restore src
5. cd src\ (e.g. cd src\Steeltoe.Extensions.Logging.CloudFoundry)
6. dotnet pack --configuration Release or Debug
The resulting artifacts can be found in the bin folder under the corresponding project. (e.g. src\Steeltoe.Extensions.Logging.CloudFoundry\bin
To run the unit tests:
1. git clone ...
2. cd clone directory
3. Install .NET Core SDK
4. dotnet restore test
5. cd test\ (e.g. cd test\Steeltoe.Extensions.Logging.CloudFoundry.Test)
6. dotnet xunit -verbose
## Building Packages & Running Tests - Linux/OSX
To build the packages on Linux/OSX:
1. git clone ...
2. cd clone directory
3. Install .NET Core SDK
4. dotnet restore src
5. cd src/{project} (e.g.. cd src/Steeltoe.Extensions.Logging.CloudFoundry)
6. dotnet pack --configuration Release or Debug
The resulting artifacts can be found in the bin folder under the corresponding project. (e.g. src/Steeltoe.Extensions.Logging.CloudFoundry/bin
To run the unit tests:
1. git clone ...
2. cd clone directory
3. Install .NET Core SDK
4. dotnet restore test
5. cd test\ (e.g. cd test/Steeltoe.Extensions.Logging.CloudFoundry.Test)
6. dotnet xunit -verbose -framework netcoreapp2.0
## Sample Applications
See the [Samples](https://github.com/SteeltoeOSS/Samples) repo for examples of how to use these packages.