2017-09-25 40 views
1

我正在使用​​(Microsoft.Extensions.Logging)作为Azure函数中的登录界面。Azure函数记录写入ILogger不会出现在Azure表存储

但是,日志不会显示在Azure表存储和Azure门户中。

using Microsoft.Extensions.Logging; 

     [FunctionName("Function2")] 
    public static async Task<HttpResponseMessage> Run(
     [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)]HttpRequestMessage req, 
     ILogger log) 
    { 
     string myname = "jack"; 
     log.LogInformation("hello, my name is {myname}.", myname); 
     //... 

是否有使用​​的方式输出到Azure Table中存储?

Azure Table Storage

回答