Commit Graph

32 Commits

Author SHA1 Message Date
700bd200ac
Add minimal wrapper around echo in MDOutputHandler that respects
disabling of output
2023-11-10 03:11:25 +01:00
2024733bba
Remove superfluous output 2023-11-08 00:35:17 +01:00
f7a92c0c4e
Add static bool to disable output handler completely 2023-07-25 15:23:17 +02:00
0b3fbe803e
Update README and add LICENSE 2023-06-24 00:16:14 +02:00
dc65db282b
Update readme 2023-06-24 00:11:23 +02:00
29dfc242d1
Remove superfluous variable assignment 2022-09-15 21:16:33 +02:00
be4752197c
Use enums for status codes 2022-08-15 15:51:34 +02:00
cecde961d8
Use MD_STD::mkdir in MDOutputHandler 2022-01-08 14:34:50 +01:00
aaa5a0dad3
Remove superfluous file stats when setting file logging to true 2021-11-22 00:34:12 +01:00
c7cc6c5810
Quere 100 messages before writing log to file (output handler) 2021-11-22 00:07:46 +01:00
a7d961808f
Add missing whitespaces 2021-10-11 15:11:49 +02:00
0abcc8b866
Remove superfluous duplicate final keywords 2021-05-14 00:07:45 +02:00
8836765336
Remove type hint for class property counter 2021-04-11 21:19:15 +02:00
b2f683e362
Set explicit visibility on MDOutputHandler destructor 2021-02-19 00:50:52 +01:00
03db871930
Minor code style improvements 2021-02-06 21:41:39 +01:00
aad9c42786
Add option to hide notices of level STATUS_NOTICE in main MDConsole
This is managed using a public static variable MDConsole::$verbose
2021-01-21 08:39:42 +01:00
760e69c72a
Remove trailing newlines before end of class definitions 2020-11-22 15:44:58 +01:00
932c315301
Add .gitattributes 2020-11-08 19:05:08 +01:00
c783e030ba
Use 0775 rather than 0755 for folder permissions 2020-11-07 01:57:06 +01:00
bda32d8632 Add option to disable regular display of operation numbers
Issue: #1
2020-10-10 19:53:56 +02:00
16e8e5eb61 Improve code legibility in MDConsole 2020-09-05 22:32:12 +02:00
f40613cb05 Add property type declarations
Property type declarations for class variables were added in PHP
7.4.
2020-09-03 19:56:55 +02:00
f811bf5a16 Add final keyword to classes 2020-08-29 12:57:08 +02:00
4c1ea711da Add declare(strict_types = 1) to MDConsole 2020-08-29 12:16:59 +02:00
e691f517f9 Improve type-safety 2020-08-27 16:14:18 +02:00
37b6c6f7ac Re-enable verbosity toggle in MDOutputHandler 2020-08-09 18:13:41 +02:00
4c7f1e5e2b Fix type hint 2020-08-08 22:59:16 +02:00
6e42fcdeae Fix type hints for human file size 2020-08-08 22:32:15 +02:00
27431ef0a0 Use class constants from MDConsole to MDOutputHandler 2020-08-08 22:23:27 +02:00
bd401fa614 Shorten names of CONSOLE_STATUS_... class constants 2020-08-08 22:07:39 +02:00
41fda53d58 Add MDOutputHandler 2020-08-08 22:04:34 +02:00
b73725e179 Initial 2020-08-08 21:45:24 +02:00