Centreon_EventLog_2_Syslog.DebugInformations.DebugInformations C# (CSharp) Method

DebugInformations() public method

public DebugInformations ( Int32 level, Int32 verbose, Int32 maxSize, Int32 fileNumber, System.Boolean dateTimeInName ) : System
level System.Int32 1 to active debug
verbose System.Int32 [0-2] verbose option
maxSize System.Int32 Max size of log file before rotation
fileNumber System.Int32 Number of file keep
dateTimeInName System.Boolean Include datetime in log file name
return System
        public DebugInformations(Int32 level, Int32 verbose, Int32 maxSize, Int32 fileNumber, Boolean dateTimeInName)
        {
            if (level < 0)
            {
                this._Level = 0;
            }
            else
            {
                this._Level = level;
            }

            if (verbose < 0)
            {
                this._Versobe = 0;
            }
            else
            {
                this._Versobe = verbose;
            }

            if (maxSize < 0)
            {
                this._MaxSize = 0;
            }
            else
            {
                this._MaxSize = maxSize;
            }

            if (fileNumber < 0)
            {
                this._FileNumber = 0;
            }
            else
            {
                this._FileNumber = fileNumber;
            }

            this._DateTimeInName = dateTimeInName;
        }

Same methods

DebugInformations::DebugInformations ( ) : System
DebugInformations