CK.Plugins.ObjectExplorer.ViewModels.LogViewModels.VMLogMethodConfig.GetLogOptions C# (CSharp) Method

GetLogOptions() private method

private GetLogOptions ( ) : ServiceLogMethodOptions
return ServiceLogMethodOptions
        private ServiceLogMethodOptions GetLogOptions()
        {
            ServiceLogMethodOptions l = ServiceLogMethodOptions.None;

            if( _doLogErrors )      l = l | ServiceLogMethodOptions.LogError;
            if( _doLogEnter )       l = l | ServiceLogMethodOptions.Enter;
            if( _doLogParameters )  l = l | ServiceLogMethodOptions.LogParameters;
            if( _doLogCaller )      l = l | ServiceLogMethodOptions.LogCaller;
            if( _doLogLeave )       l = l | ServiceLogMethodOptions.Leave;
            if( _doLogReturnValue ) l = l | ServiceLogMethodOptions.LogReturnValue;

            return l;
        }