File tree Expand file tree Collapse file tree
src/PollinationSDK/Helper Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,12 +5,10 @@ namespace PollinationSDK
55{
66 internal static class LogUtils
77 {
8- private static string _namespaceName = System . Reflection . MethodBase . GetCurrentMethod ( ) ? . DeclaringType ? . Namespace ?? "Unknown Namespace" ;
9- private static string _className = System . Reflection . MethodBase . GetCurrentMethod ( ) ? . DeclaringType ? . Name ?? "Unknown Class" ;
10- private static string _logCatagory = $ "{ _namespaceName } .{ _className } ";
8+ private static string _logCatagory = $ "PollinationSDK";
119
12- private static Pollination . LogHelper ? _helper ;
13- internal static Pollination . LogHelper Helper => _helper ??= new Pollination . LogHelper ( _logCatagory ) ;
10+ private static PollinationLogger . LogHelper ? _helper ;
11+ internal static PollinationLogger . LogHelper Helper => _helper ??= new PollinationLogger . LogHelper ( _logCatagory ) ;
1412
1513 internal static ILogger GetLogger < T > ( ) => Helper . GetLoggerOptional < T > ( ) ;
1614 internal static ILogger GetLogger ( Type type ) => Helper . GetLoggerOptional ( type ) ;
You can’t perform that action at this time.
0 commit comments