Commit graph

102 commits

Author SHA1 Message Date
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
519777a922 Minor correction 2024-10-29 00:44:38 -04:00
netkas
4cc5a8450d Removed black/grey colors for black background terminals 2024-10-29 00:42:33 -04:00
netkas
83066f5315 Updated .gitignore 2024-10-29 00:40:18 -04:00
netkas
1b8813314e Added PhpUnit test files 2024-10-29 00:40:04 -04:00
netkas
92107d4018 Updated LogTest 2024-10-29 00:38:37 -04:00
netkas
1e7a74d6ef Minor improvement 2024-10-29 00:38:31 -04:00
netkas
c2ce54139c Removed console formatting for traces when handling file logging events 2024-10-29 00:37:25 -04:00
netkas
5c5d06446a Initialize static properties in ConsoleLogging 2024-10-29 00:33:34 -04:00
netkas
72ddaffc4f Refactor file handling to improve robustness 2024-10-29 00:33:22 -04:00
netkas
3e88913042 Fix log file naming format 2024-10-28 20:01:20 -04:00
netkas
dd78dccab2 Refactor directory creation error handling 2024-10-28 19:59:34 -04:00
netkas
6f61db996c Add error and shutdown handlers 2024-10-28 19:56:13 -04:00
netkas
735dc7b33e Removed unused LoggingException 2024-10-28 19:47:20 -04:00
netkas
7e779ab41b Refactor logging utility functions 2024-10-28 19:43:10 -04:00
netkas
709729df14 Added documentation to FileLogging 2024-10-28 19:38:20 -04:00
netkas
8f9333a273 Removed unused LogHandlerType 2024-10-28 19:37:51 -04:00
netkas
15f55b870d Updated CHANGELOG.md 2024-10-28 19:36:45 -04:00
netkas
3bf6b70526 Added Logger object for constructing a logging instance for an application 2024-10-28 19:36:26 -04:00
netkas
e35eb46873 Updated CHANGELOG.md 2024-10-28 15:33:17 -04:00
netkas
81ee234540 Refactor logging methods and utility functions 2024-10-28 15:29:57 -04:00
netkas
dec96d85e1 Add LogHandlerInterface and related types 2024-10-28 15:29:46 -04:00
netkas
9d0dbad846 Add FileLogging and FileLock classes 2024-10-28 15:29:14 -04:00
netkas
f3d0412525 Add console logging handler 2024-10-28 15:28:51 -04:00
netkas
e5b0bb6012 Remove unused BRIGHT_COLORS constant from ConsoleColors 2024-10-28 15:28:34 -04:00
netkas
d6e94ce52e Removed unused Options & RuntimeOptions 2024-10-28 15:28:20 -04:00
netkas
a272396ef9 Add Application class for LogLib 2024-10-28 15:28:11 -04:00
netkas
b08b878e9a Removed Console.php 2024-10-28 15:27:51 -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
bd9bf431e7 Refactor to use RuntimeOptions in Console 2024-10-26 00:29:15 -04:00
netkas
8f413a9aae Updated CHANGELOG.md 2024-10-26 00:18:42 -04:00
netkas
fa27ed6405 Rename classes to enums and update usage 2024-10-26 00:18:08 -04:00
netkas
2dd8f912b2 Updated php.xml 2024-10-25 20:10:44 -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
netkas
cf4041f47b Bumped version to 1.1.2 2024-10-25 20:10:05 -04:00
8d5d443792 Updated build system 2024-10-13 16:40:55 -04:00
edcd01d4df Bumped version to 1.1.1 2024-10-13 16:40:12 -04:00
a74a9664da Updated project.json 2024-10-13 16:39:34 -04:00
91c79ab3de Merge branch 'master' into dev 2024-10-13 16:36:45 -04:00
0f50faee8f Updated Build System 2024-10-13 16:36:35 -04:00
e8fb624e19
Updated README.md 2023-10-12 23:45:34 -04:00
951bdb325e
"Refactor logging logic to improve log level and backtrace information
The code has been updated to enhance the way log levels and backtrace information is handled. Changes have been done to ensure the backtrace ignores any calls coming from the LogLib namespace, improving clarity and reducing noise in the log output. Additionally, changes were made to 'colorize' and 'log' methods to adjust the typing of the log level from string to integer, enhancing the consistency of log level usage throughout the code. Removed the Backtrace class that was not serving any purpose after these updates. Tests are also updated to ensure proper functionality."
2023-10-12 23:40:05 -04:00
7f2332e228
Fix 2023-10-12 17:16:02 -04:00
3e9606c184
Updated .gitlab-ci.yml 2023-10-12 00:35:39 -04:00