{"action":"created","issue":{"url":"https://api.github.com/repos/serilog/serilog-extensions-logging/issues/65","repository_url":"https://api.github.com/repos/serilog/serilog-extensions-logging","labels_url":"https://api.github.com/repos/serilog/serilog-extensions-logging/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/serilog/serilog-extensions-logging/issues/65/comments","events_url":"https://api.github.com/repos/serilog/serilog-extensions-logging/issues/65/events","html_url":"https://github.com/serilog/serilog-extensions-logging/issues/65","id":194424538,"number":65,"title":"Can't figure out BeginScope?","user":{"login":"Capsup","id":490839,"avatar_url":"https://avatars1.githubusercontent.com/u/490839?v=3","gravatar_id":"","url":"https://api.github.com/users/Capsup","html_url":"https://github.com/Capsup","followers_url":"https://api.github.com/users/Capsup/followers","following_url":"https://api.github.com/users/Capsup/following{/other_user}","gists_url":"https://api.github.com/users/Capsup/gists{/gist_id}","starred_url":"https://api.github.com/users/Capsup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Capsup/subscriptions","organizations_url":"https://api.github.com/users/Capsup/orgs","repos_url":"https://api.github.com/users/Capsup/repos","events_url":"https://api.github.com/users/Capsup/events{/privacy}","received_events_url":"https://api.github.com/users/Capsup/received_events","type":"User","site_admin":false},"labels":[{"id":211388585,"url":"https://api.github.com/repos/serilog/serilog-extensions-logging/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-08T19:36:11Z","updated_at":"2017-02-28T23:13:59Z","closed_at":"2017-01-06T15:22:08Z","body":"Hi,\r\n\r\nI'm having issues with the extension in a .Net Core Console Application, where I can't get the BeginScope function to do anything when using the Serilog extension.\r\n\r\nI'm creating the logger like so:\r\n```csharp\r\nLog.Logger = new LoggerConfiguration().Enrich.FromLogContext().WriteTo.LiterateConsole().CreateLogger();\r\n```\r\n\r\nAnd using the logger like so (as per #50 ):\r\n```csharp\r\nvar logger = new LoggerFactory().AddSerilog().CreateLogger(type)\r\nvar counter = 1;\r\nvar threadid = 2;\r\nusing( logger.BeginScope( \"Test {counter} # {threadid}\", counter, threadid ) )\r\n{\r\n    foreach( var registeredMethod in registeredMethods )\r\n    {\r\n        logger.LogInformation( \"test | {0}\", \"abc\" );\r\n    }\r\n}\r\n```\r\n\r\nHowever, I can't seem to get the scope to print anything at all to the console (nor using the flatfile extension):\r\n[image](http://i.imgur.com/eQ2AVMk.png)\r\n\r\nWhat am I doing wrong here?"},"comment":{"url":"https://api.github.com/repos/serilog/serilog-extensions-logging/issues/comments/283192339","html_url":"https://github.com/serilog/serilog-extensions-logging/issues/65#issuecomment-283192339","issue_url":"https://api.github.com/repos/serilog/serilog-extensions-logging/issues/65","id":283192339,"user":{"login":"Porges","id":12575,"avatar_url":"https://avatars0.githubusercontent.com/u/12575?v=3","gravatar_id":"","url":"https://api.github.com/users/Porges","html_url":"https://github.com/Porges","followers_url":"https://api.github.com/users/Porges/followers","following_url":"https://api.github.com/users/Porges/following{/other_user}","gists_url":"https://api.github.com/users/Porges/gists{/gist_id}","starred_url":"https://api.github.com/users/Porges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Porges/subscriptions","organizations_url":"https://api.github.com/users/Porges/orgs","repos_url":"https://api.github.com/users/Porges/repos","events_url":"https://api.github.com/users/Porges/events{/privacy}","received_events_url":"https://api.github.com/users/Porges/received_events","type":"User","site_admin":false},"created_at":"2017-02-28T23:13:59Z","updated_at":"2017-02-28T23:13:59Z","body":"@nblumhardt That makes sense, thanks 👍 "}}
{"actor":{"display_login":"Porges"}}