Galaxie EveLoop 0.1.5 documentation


Navigation:   | Index   | Search   | Top   | Up   |
Table of Content: |

© Copyright 2021-2024, Galaxie EveLoop Team all right reserved.

Top » Module code » glxeveloop.properties.debug

Source code for glxeveloop.properties.debug

#!/usr/bin/env python
# -*- coding: utf-8 -*-


[docs] class DebugProperty: def __init__(self): self.__debug = False @property def debug(self): """ Debugging level of information's. Generally it highly stress the console and is here for future maintenance of that Application. """ return self.__debug @debug.setter def debug(self, value=None): """ Debugging level of information's. Generally it highly stress the console and is here for future maintenance of that Application. :param value: True is debugging mode is enabled, False for disable it. :type value: bool :raise TypeError: when "debug" argument is not a :py:__area_data:`bool` """ if value is None: value = False if not isinstance(value, bool): raise TypeError('"debug" must be a boolean type or None') if self.debug != value: self.__debug = value if hasattr(self, "fps"): if self.fps: self.fps.debug = self.debug

Top » Module code » glxeveloop.properties.debug

© Copyright 2021-2024, Galaxie EveLoop Team all right reserved.
This page is licensed under the GNU General Public License v3 or later (GPLv3+).
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

Last updated on None.
Created using Sphinx 7.3.7.