Switch branches/tags
Nothing to show
Clone or download
Latest commit bb368d6 Mar 30, 2018

README.md

Logging in Pre-Compiled Azure Functions

Pre-Requisites

  • func.exe
  • MSBuild 15 (this is installed if you have Visual Studio 2017 or the dotnet core SDK)

Running

  1. git clone https://github.com/jaredcnance/AzureFunctionsLogging.git
  2. cd ./AzureFunctionsLogging/AzureFunctionsLogging
  3. dotnet build or msbuild.exe
  4. func host start
  5. Send request:

Serilog

curl -X POST \
  http://localhost:7071/api/serilog \
  -H 'content-type: application/json' \
  -d '{}'

log4net

curl -X POST \
 http://localhost:7071/api/log4net \
 -H 'content-type: application/json' \
 -d '{}'