CK.Plugins.ObjectExplorer.ViewModels.LogViewModels.VMLogMethodConfig.GetLogOptions C# (CSharp) 메소드

GetLogOptions() 개인적인 메소드

private GetLogOptions ( ) : ServiceLogMethodOptions
리턴 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;
        }