ats_utilities.logging.ats_logger_status module¶
- Module
- ats_logger_status.py
- Copyright
- Copyright (C) 2017 Vladimir Roncevic <elektron.ronca@gmail.com> ats_utilities is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ats_utilities is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
- Info
- Defined class ATSLoggerStatus with attribute(s) and method(s). Created API for ATS logger status in one propery object.
-
class
ats_utilities.logging.ats_logger_status.
ATSLoggerStatus
(verbose=False)[source]¶ Bases:
object
Defined class ATSLoggerStatus with attribute(s) and method(s). Created API for ATS logger status in one propery object. It defines:
attributes: __verbose - enable/disable verbose option.__log_status - logger status (enabled/disabled).methods: __init__ - initial constructor.logger_status - property methods for set/get operations.__str__ - str dunder method for ATSLoggerStatus.-
VERBOSE
= 'ats_utilities::logging::ats_logger_status'¶
-
logger_status
¶ Property method for getting logger status.
Returns: True (logger operative) | False. Return type: <bool> Exceptions: None
-