• clog-0.2.0-a0 8e6613412b

    CLog v0.2.0-a0 Pre-Release

    TheOnePath released this 2023-07-29 22:07:46 +01:00 | 2 commits to main since this release

    Updated: common.py

    • Changed value name from 'NORMAL' to 'INFO'.

    Updated: _logger.py

    Major changes to the structure behaviour when logging.

    • Class no longer implements pseudologs as class methods. These are now
      instance methods but return the class instance to allow for method
      chaining.

    • class@Logger is no longer a singleton pattern. Class may now either
      return a new logger instance, or return an existing logger if matched.
      A user may recreate an existing logger using the Logger@new() method
      instance.

    • An existing logger may be returned either by creating a new logger
      with the same name= attribute, or by using the Logger@get() static
      method and passing the name of an existing logger.

    • A context manager, class@LoggerStore, has been implemented. This is to
      allow for multiple loggers to be created and kept track of during the
      lifetime of a program. This class is fully static and only accessed by
      internal processes.

    • The Logger@printLog2File method has been renamed to writeLog(). In
      the case a user wishes to write to console, Logger@printLog may be
      used. Note, pseudolog methods still print to log as default behaviour.

    • Other changes to class methods to be appropriate for the amended
      changes outlined above.

    • Bug fixes.

    Downloads
  • clog-0.1.1 8e6613412b

    CLog v0.1.1 Pre-Release

    TheOnePath released this 2023-07-29 21:28:35 +01:00 | 2 commits to main since this release

    Downloads