Logger wrapper for reflected log4net logging methods.
Inheritance: InternalLogger
示例#1
0
        private Logger(Type type)
        {
            loggers = new List <InternalLogger>();

            InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);

            loggers.Add(log4netLogger);
#if BCL
            InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);
            loggers.Add(sdLogger);
#endif
#if UNITY
            UnityDebugLogger debugLogger = new UnityDebugLogger(type);
            loggers.Add(debugLogger);
#endif
#if __ANDROID__ || __IOS__
            InternalConsoleLogger consoleLogger = new InternalConsoleLogger(type);
            loggers.Add(consoleLogger);
#endif
#if PCL
            InternalFileLogger fileLogger = new InternalFileLogger(type);
            loggers.Add(fileLogger);
#endif

            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }
示例#2
0
        private Logger(Type type)
        {
            loggers = new List<InternalLogger>();

            InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);
            loggers.Add(log4netLogger);
#if BCL
            InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);
            loggers.Add(sdLogger);
#endif
#if AWSSDK_UNITY
            UnityDebugLogger debugLogger = new UnityDebugLogger(type);
            loggers.Add(debugLogger);
#endif
#if __ANDROID__ || __IOS__
            InternalConsoleLogger consoleLogger = new InternalConsoleLogger(type);
            loggers.Add(consoleLogger);
#endif
#if PCL
            InternalFileLogger fileLogger = new InternalFileLogger(type);
            loggers.Add(fileLogger);
#endif
            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }
示例#3
0
        private Logger(Type type)
        {
            loggers = new List<InternalLogger>();

            InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);
            loggers.Add(log4netLogger);
#if BCL
            InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);
            loggers.Add(sdLogger);
#endif
            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }
示例#4
0
        private Logger(Type type)
        {
            loggers = new List <InternalLogger>();
            InternalLog4netLogger item = new InternalLog4netLogger(type);

            loggers.Add(item);
            loggers.Add(new InternalConsoleLogger(type));
            UnityDebugLogger item2 = new UnityDebugLogger(type);

            loggers.Add(item2);
            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }
示例#5
0
        private Logger(Type type)
        {
            loggers = new List <InternalLogger>();

            InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);

            loggers.Add(log4netLogger);
            InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);

            loggers.Add(sdLogger);

            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }
示例#6
0
        private Logger(Type type)
        {
            loggers = new List <InternalLogger>();

            InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);

            loggers.Add(log4netLogger);
            loggers.Add(new InternalConsoleLogger(type));
#if !NETSTANDARD13
            InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);
            loggers.Add(sdLogger);
#endif
            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }
示例#7
0
        private Logger(Type type)
        {
            loggers = new List <InternalLogger>();

            InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);

            loggers.Add(log4netLogger);
#if BCL
            InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);
            loggers.Add(sdLogger);
#endif
#if AWSSDK_UNITY
            UnityDebugLogger debugLogger = new UnityDebugLogger(type);
            loggers.Add(debugLogger);
#endif
            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }
示例#8
0
        private Logger(Type type)
        {
            loggers = new List<InternalLogger>();

            InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);
            loggers.Add(log4netLogger);

#if __IOS__ || __ANDROID__
            MobileLogger logger = new MobileLogger(type);
            loggers.Add(logger);
#endif

#if BCL
            InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);
            loggers.Add(sdLogger);
#endif
#if PCL
            InternalConsoleLogger dbLogger = new InternalConsoleLogger(type);
            loggers.Add(dbLogger);
#endif

            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }
示例#9
0
        private Logger(Type type)
        {
            loggers = new List <InternalLogger>();

            InternalLog4netLogger log4netLogger = new InternalLog4netLogger(type);

            loggers.Add(log4netLogger);
            loggers.Add(new InternalConsoleLogger(type));
#if BCL || (NETSTANDARD && !NETSTANDARD13)
            InternalSystemDiagnosticsLogger sdLogger = new InternalSystemDiagnosticsLogger(type);
            loggers.Add(sdLogger);
#endif
#if UNITY
            UnityDebugLogger debugLogger = new UnityDebugLogger(type);
            loggers.Add(debugLogger);
#endif
#if PCL
            InternalFileLogger fileLogger = new InternalFileLogger(type);
            loggers.Add(fileLogger);
#endif

            ConfigureLoggers();
            AWSConfigs.PropertyChanged += ConfigsChanged;
        }