Skip to content

Releases: regorxxx/Console-SMP

v2.0.0 - Enhance timestamp and cache handling

23 Feb 21:42
Compare
Choose a tag to compare

[2.0.0] - 2023-02-23

Added

  • console.flush() method to force writing cache to file (usually used at on_script_unload)

Changed

  • Moved all global variables to console namespace. i.e. console.File, console.MaxSize, console.Throttling, console.Timer, console.Cache.
  • Added specific handling of FbMetadbHandle and FbMetadbHandleList objects.
  • Logging now adds 'dd/mm/yyyy' line when touching the file if the last modified date differs. Should greatly enhance readability of logging for different days, since previously there was no way to know which day was for every line unless you manually counted the hour stamp resets.

Removed

Fixed

  • Logging of null value not working properly.

v1.2.1- Hotfix

14 Aug 12:49
Compare
Choose a tag to compare

Fixed

  • Fixed line splitting when using cache (conLogThrottling > 0).

v1.2.0- Writing frequency adjustable

19 Jun 09:08
f670b9d
Compare
Choose a tag to compare

Added

  • New setting 'conLogThrottling' to control the frequency of text writing to file. Consecutive calls within that interval are cached and all text flushed when there are no more calls (debouncing). This should greatly improve performance when calling the console multiple times in a small frame of time wring to physical file only once.

v1.1.0 - FbProfiler rewrap

05 Jun 19:43
Compare
Choose a tag to compare

Added

  • Rewrapped entire FbProfiler class to also log to file (the same than console.log). FbProfiler object has now an exposed property 'Name'. 'FbProfiler.Print' method will print to console and log file.
  • New method 'FbProfiler.PrintUI' which mimics the old behavior, printing only to console.

v1.0.3

05 Jun 10:42
Compare
Choose a tag to compare

Changed

  • console.popup now has an additional argument to switch showing/hiding the popup (for ex. for actions via online controllers).

v1.0.2

05 Jun 10:41
Compare
Choose a tag to compare

Changed

  • Check log file size before writing to file in the same session, not only on script loading.

Fixed

  • Avoid file reading crashing in any case (even if it's locked by another process).

v1.0.1

23 Dec 19:01
Compare
Choose a tag to compare

Added

  • New method console.popup to send at the same time the text to the console (For logging purpose) and show it in a popup. Lines are split before sending to console, so every line is sent in different calls (i.e. the date is shown on every line).

v1.0.0 - First Release

08 Oct 21:36
Compare
Choose a tag to compare

First public release.