Skip to content

v2024.10.16

Choose a tag to compare

@tch521 tch521 released this 16 Oct 00:53
· 7 commits to main since this release
3e0df43
  • You can now change the log level at which the standard timer messages are logged
    • After importing Timer, simply use the Timer.set_log_level() function
    • The default is logging.DEBUG which is equivalent to 10
  • print_average_times has been updated
    • The new parameter fill_char allows you to choose the character that pads the pipes (|)
      • Anything is allowed, but I can only imagine that a small selection of people might want underscores or hyphens instead of spaces
      • A byproduct of this change is that the entire table is now shifted one character to the right
    • The new parameter number_pad_char allows you to change the number padding
      • All numbers are left-padded with spaces by default to match previous behaviour
      • I like to pad with zeroes so that when AWS Cloudwatch strips the repeated spaces from the logs, the table isn't misaligned
  • The examples file has been updated, give it a quick look