File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
src/Plugins/ApplicationLogs Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1313
1414namespace Neo . Plugins . ApplicationLogs
1515{
16- internal class ApplicationLogsSettings : IPluginSettings
16+ internal class Settings : PluginSettings
1717 {
1818 public string Path { get ; }
1919 public uint Network { get ; }
2020 public int MaxStackSize { get ; }
2121
2222 public bool Debug { get ; }
2323
24- public static ApplicationLogsSettings Default { get ; private set ; } = default ! ;
24+ public static Settings Default { get ; private set ; } = default ! ;
2525
26- public UnhandledExceptionPolicy ExceptionPolicy { get ; }
27-
28- private ApplicationLogsSettings ( IConfigurationSection section )
26+ private Settings ( IConfigurationSection section ) : base ( section )
2927 {
3028 Path = section . GetValue ( "Path" , "ApplicationLogs_{0}" ) ;
3129 Network = section . GetValue ( "Network" , 5195086u ) ;
3230 MaxStackSize = section . GetValue ( "MaxStackSize" , ( int ) ushort . MaxValue ) ;
3331 Debug = section . GetValue ( "Debug" , false ) ;
34- ExceptionPolicy = section . GetValue ( "UnhandledExceptionPolicy" , UnhandledExceptionPolicy . Ignore ) ;
3532 }
3633
3734 public static void Load ( IConfigurationSection section )
3835 {
39- Default = new ApplicationLogsSettings ( section ) ;
36+ Default = new Settings ( section ) ;
4037 }
4138 }
4239}
You can’t perform that action at this time.
0 commit comments