Commit graph

94 commits

Author SHA1 Message Date
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
26ef269e91
Updated CHANGELOG.md 2023-10-11 18:53:26 -04:00
f4890f90b9
Updated project.json 2023-10-11 18:50:33 -04:00
42bd16d5ee
Updated README.md formatting 2023-10-11 18:49:54 -04:00
d5831486eb
Updated LICENSE formatting 2023-10-11 18:46:27 -04:00
adfef954d1
Remove NCC Build GitHub workflow 2023-10-11 18:44:40 -04:00
7b8b636d37
Update .gitlab-ci.yml to simplify build stage
Removed the 'ncc project install' script from the build stage in the '.gitlab-ci.yml'. Debugging showed it was not necessary for the building process when not building statically
2023-10-11 18:38:48 -04:00
1a4d2ff726
Streamline CI pipeline by explicit project installation
This commit removes an unused 'prepare' stage from '.gitlab-ci.yml' and includes 'ncc project install' in the build scripts. The intention is to improve the CI/CD flow by installing project dependencies directly in the build phases, preventing possible build failures due to missing dependencies.
2023-10-11 18:35:01 -04:00
0311fcf3f0
Remove unused run configuration and update CI pipeline
This commit removes 'Install.xml' run configuration, which is no longer used or necessary in the project. The '.gitlab-ci.yml' file has also been updated to include a new 'prepare' stage in the pipeline. This modification was done to streamline and improve the CI/CD process by explicitly installing necessary project dependencies before the build phase begins.
2023-10-11 17:49:15 -04:00