ats_utilities.logging.ats_logger_file module¶
- Module
- ats_logger_file.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 ATSLoggerFile with attribute(s) and method(s). Created API for ATS logger file path in one propery object.
-
class
ats_utilities.logging.ats_logger_file.
ATSLoggerFile
(verbose=False)[source]¶ Bases:
object
Defined class ATSLoggerFile with attribute(s) and method(s). Created API for ATS logger file path in one propery object. It defines:
attributes: __verbose - enable/disable verbose option.__logger_file - log file path.methods: __init__ - initial constructor.logger_file - property methods for set/get operations.__str__ - str dunder method for ATSLoggerFile.-
VERBOSE
= 'ats_utilities::logging::ats_logger_file'¶
-
logger_file
¶ Property method for getting log file path.
Returns: log file path | None. Return type: <str> | <NoneType> Exceptions: None
-