Commit graph

31 commits

Author SHA1 Message Date
netkas
dc9b831534 Fixed FileLogging issue by setting the write permission to 0666 for the log file if it doesn't exist. 2025-01-13 13:24:38 -05:00
netkas
9958bdd205 Prevent file logging in web environments. 2025-01-10 04:24:45 -05:00
netkas
0507fbb9d1 Refactor file locking to return status and handle failure. 2025-01-09 15:42:44 -05:00
netkas
808baec53c Bumped version to 2.0.5 2025-01-09 15:39:52 -05:00
netkas
359afdcbe0 Bug fix, bumped to version 2.0.4 2024-12-04 00:26:03 -05:00
netkas
0fdf36661e Bumped to version 2.0.3 2024-11-05 14:09:31 -05:00
netkas
163a163b96 Updated CHANGELOG.md 2024-10-30 00:15:01 -04:00
netkas
7c99edddbd Implement enhanced error and exception handling 2024-10-30 00:14:51 -04:00
netkas
9435841987 Refactor exception handling in FileLogging 2024-10-30 00:14:33 -04:00
netkas
9fdedc5dea Bumped version to 2.0.2 2024-10-29 22:16:24 -04:00
netkas
ccc3378774 This update introduces a critical bug fix where Console logging was enabled in web environments 2024-10-29 14:18:30 -04:00
netkas
73c333e6e6 Updated CHANGELOG.md 2024-10-29 00:48:00 -04:00
netkas
15f55b870d Updated CHANGELOG.md 2024-10-28 19:36:45 -04:00
netkas
e35eb46873 Updated CHANGELOG.md 2024-10-28 15:33:17 -04:00
netkas
38fc3295c2 Bumped version to 2.0.0 due to the many major changes 2024-10-28 13:05:11 -04:00
netkas
7b0de0cb7f Updated CHANGELOG.md 2024-10-26 00:29:24 -04:00
netkas
8f413a9aae Updated CHANGELOG.md 2024-10-26 00:18:42 -04:00
netkas
e5ce8cdc01 Set default log level to 'info' in Utilities. instead of using null due to deprecation error 2024-10-25 20:10:40 -04:00
edcd01d4df Bumped version to 1.1.1 2024-10-13 16:40:12 -04:00
7f2332e228
Fix 2023-10-12 17:16:02 -04:00
26ef269e91
Updated CHANGELOG.md 2023-10-11 18:53:26 -04:00
4fa87c349c
Remove unused ConfigException class, make code style adjustments
Deleted ConfigException class as it was not being used anywhere in the project.
Code style adjustments were made to conform with the PSR-12 coding standard. This includes property and variable naming conventions, use of strict equality operators, reformatting of code and removal of unnecessary comments. The .idea/php.xml file was also updated to a newer version of the library.
Log functions are updated to throw exceptions for non-existent message and invalid level. Also, LogLib is now registered/unregistered  as an exception handler.
Other adjustments were made to achieve consistency in the codebase including renaming properties for clarity, moving magic strings into constants, improving code readability and adding descriptive comments.
2023-10-10 23:29:26 -04:00
56b06dee4f
Updated CHANGELOG.md 2023-07-06 18:43:18 -04:00
0d92d2a838
Fixed mistake in \LogLib\Classes > Console > outException() where the function attempts to print out a previous exception by calling getPrevious() as an array instead of a function call. 2023-07-06 18:42:25 -04:00
Netkas
f06d06f581 Updated CHANGELOG.md 2023-03-01 20:30:08 -05:00
Netkas
77f2a7ef3d Bumped version to 1.0.2 2023-03-01 20:12:16 -05:00
Netkas
f3ad99769f Bumped version to 1.0.1 2023-03-01 20:10:41 -05:00
Netkas
608ea80fe3 Updated CHANGELOG.md 2023-02-10 00:37:32 -05:00
Netkas
7a7dee9608 Updated CHANGELOG.md 2023-02-04 04:03:12 -05:00
Netkas
677b9b28fe Updated CHANGELOG.md 2023-02-04 03:58:02 -05:00
Netkas
9cf4917657 Updated README.md and added CHANGELOG.md 2023-01-29 21:51:46 -05:00