{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/103","labels_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/103/comments","events_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/103/events","html_url":"https://github.com/paypal/PayPal-NET-SDK/issues/103","id":83578123,"number":103,"title":"How to implement custom logger based on BaseLogger?","user":{"login":"harumburum","id":1478116,"avatar_url":"https://avatars.githubusercontent.com/u/1478116?v=3","gravatar_id":"","url":"https://api.github.com/users/harumburum","html_url":"https://github.com/harumburum","followers_url":"https://api.github.com/users/harumburum/followers","following_url":"https://api.github.com/users/harumburum/following{/other_user}","gists_url":"https://api.github.com/users/harumburum/gists{/gist_id}","starred_url":"https://api.github.com/users/harumburum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harumburum/subscriptions","organizations_url":"https://api.github.com/users/harumburum/orgs","repos_url":"https://api.github.com/users/harumburum/repos","events_url":"https://api.github.com/users/harumburum/events{/privacy}","received_events_url":"https://api.github.com/users/harumburum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/labels/question","name":"question","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-01T16:03:07Z","updated_at":"2015-06-01T18:14:15Z","closed_at":"2015-06-01T18:14:15Z","body":"I'm trying to implement custom logger in .net sdk sample project (PayPal.SDK.Sample.VS.2013) \r\n\r\n```\r\nnamespace PayPal.Sample\r\n{\r\n    public class PayPalLogger  :Log.BaseLogger\r\n    {\r\n```\r\nHere is my config\r\n\r\n```\r\n  <appSettings>\r\n    <!-- Diagnostics logging is only available in a Full Trust environment. -->\r\n    <!--<add key=\"PayPalLogger\" value=\"PayPal.Log.DiagnosticsLogger, PayPal.Log.Log4netLogger\"/>-->\r\n    <add key=\"PayPalLogger\" value=\"PayPal.Sample.PayPalLogger\"/>\r\n  </appSettings>\r\n```\r\n\r\nI fount that it is not working because in the PayPal.Log.Logger constructor method loggerType is always null\r\n\r\n```\r\n  private Logger(Type givenType)\r\n        {\r\n            baseLoggerList = new List<BaseLogger>();\r\n\r\n            if (LogConfiguration.LoggerListInConfiguration != null)\r\n            {\r\n                foreach (string loggerName in LogConfiguration.LoggerListInConfiguration)\r\n                {\r\n                    Type loggerType = Type.GetType(loggerName); // null when logger name is PayPal.Sample.PayPalLogger\r\n```\r\n\r\nI've tried to specify qualified assembly name in the config parameter \r\n```\r\n <add key=\"PayPalLogger\" value=\"PayPal.Sample.PayPalLogger, PayPal.Sample, Version=1.4.3.0, Culture=neutral, PublicKeyToken=null\"/>\r\n```\r\nbut it still not words, because PayPal.Log.LogConfiguration splitting config value by commas.\r\n\r\nCould you please provide any solution for it?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/comments/107659423","html_url":"https://github.com/paypal/PayPal-NET-SDK/issues/103#issuecomment-107659423","issue_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/103","id":107659423,"user":{"login":"harumburum","id":1478116,"avatar_url":"https://avatars.githubusercontent.com/u/1478116?v=3","gravatar_id":"","url":"https://api.github.com/users/harumburum","html_url":"https://github.com/harumburum","followers_url":"https://api.github.com/users/harumburum/followers","following_url":"https://api.github.com/users/harumburum/following{/other_user}","gists_url":"https://api.github.com/users/harumburum/gists{/gist_id}","starred_url":"https://api.github.com/users/harumburum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harumburum/subscriptions","organizations_url":"https://api.github.com/users/harumburum/orgs","repos_url":"https://api.github.com/users/harumburum/repos","events_url":"https://api.github.com/users/harumburum/events{/privacy}","received_events_url":"https://api.github.com/users/harumburum/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T18:14:15Z","updated_at":"2015-06-01T18:14:15Z","body":"Hi @jziaja, I didn't use sdk before, looks like me and my colleague have posted same question in\r\n#102, so I'm closing this one, thx."}}