646 Commits

Author SHA1 Message Date
80f8fc6967
created LOG_FORMATTING_START and LOG_FORMAT_START flags 2022-11-23 19:49:33 +01:00
488a59db56
fixed filePath allocation syze 2022-11-23 19:45:07 +01:00
5054284370
fixed log folder counting bug
gonna make this variable, don't worry
2022-11-23 19:44:35 +01:00
2d233ea54e
addded ".log" ad the end of LOG_FORMATTING flag
I forgot, again
2022-11-23 19:31:26 +01:00
77ae6e1cf6
added NULL character at the end of buffer in misc when reading versions.json 2022-11-22 19:40:49 +01:00
8c4b888a88
renamed logger-test's test variable to logFile 2022-11-22 18:57:53 +01:00
3c17674cdb
added comments to logger-test 2022-11-22 18:57:06 +01:00
28a38e5290
moved logger-test's directory to WRITE_DIR flag 2022-11-22 18:56:10 +01:00
2c379872d9
moved logger-test's write message to WRITE_MESSAGE flag 2022-11-22 18:55:34 +01:00
9fe1fbde66
added something intelligent to logger-test write message 2022-11-22 18:54:06 +01:00
48977c0fe1
added on byte to writeLog's buffer allocation
I mean... Valgrind told me to.
2022-11-22 18:50:41 +01:00
0f4492a611
added some *working* code into writeLog's body 2022-11-22 18:47:56 +01:00
6074e06e9f
added semicolon to WRITE_FORMATTING 2022-11-22 18:46:46 +01:00
7205089099
fixed invalid WRITE_FORMATTING format 2022-11-22 18:45:56 +01:00
0940ac28cb
created WRITE_FORMATTING flag
and guess what is it for :)
2022-11-22 18:44:02 +01:00
90935724fc
created WRITE_FORMAT flag 2022-11-22 18:36:31 +01:00
8ee309fe7c
implemented writeLog in logger-test 2022-11-22 18:32:44 +01:00
95d5c8201f
added missing header file include
I thought it write() was in fcnttl

whoops
2022-11-22 18:30:55 +01:00
e5a4c21f6a
added test code into writeLog 2022-11-22 18:29:00 +01:00
3a456bf63a
created writeLog function 2022-11-22 18:23:25 +01:00
4e345eeb99
added missing comment to initLogger 2022-11-22 18:21:20 +01:00
f2b059da13
implemented deallocateLogger in logger-test 2022-11-22 18:19:47 +01:00
453a8a1cca
added code to deallocateLogger's body
just close function lmao
2022-11-22 18:19:21 +01:00
7e65ac5550
created deallocateLogger function in why2-utils header 2022-11-22 18:15:13 +01:00
217c1fc99a
added logger-utils header into why2 header 2022-11-22 18:10:46 +01:00
2440464f6e
created utils header file
I mean logger utils yk
2022-11-22 18:09:49 +01:00
614d788350 implemented LOG_FORMATTING in logger 2022-11-21 12:08:37 +00:00
be343bd1bb created LOG_FORMATTING flag
I said I will make it more variable
2022-11-21 12:08:10 +00:00
e9d8a78148 added missing comment to MAX_USAGE definition 2022-11-21 12:05:47 +00:00
4a7f3ac3ab fixed logger's todo
and deallocated filePath
2022-11-21 11:58:10 +00:00
ddb5389916 implemented MAX_USAGE flag 2022-11-21 11:55:25 +00:00
3eebda409b created MAX_USAGE flag 2022-11-21 11:55:10 +00:00
6862a1815f added missing initLogger deallocation
I forgor
2022-11-21 11:53:53 +00:00
091fe43bb2
created some basic code for logs generation
I will make more variable etc. tomorrow
2022-11-18 19:54:33 +01:00
e719c2c4bd
added cleaning logs into clean rule 2022-11-18 19:53:26 +01:00
33c85264de
created LOGS variable 2022-11-18 19:52:57 +01:00
e29dd9b9a3
renamed EXIT_CODES to RETURN_CODES 2022-11-18 19:50:23 +01:00
312d68c741
created EXIT_CODES and INVALID_FILE code 2022-11-18 19:46:57 +01:00
f3bccf03cb
made LOG_FORMAT little bit more readable 2022-11-18 19:33:29 +01:00
22db4187dc
added logger flags into why2.h 2022-11-18 19:27:49 +01:00
6678266bf7
changed C version to gnu11 2022-11-18 19:23:22 +01:00
aa83d98115
created LOG_FORMAT flag 2022-11-18 19:15:52 +01:00
406801fd32
created logger flags header 2022-11-18 19:10:03 +01:00
952c348e8e
added some *serious* test code into logger-test 2022-11-18 18:56:22 +01:00
be1a16736b
added logs directory to ignored 2022-11-18 18:54:57 +01:00
7197f0fed2
created logs directory 2022-11-18 18:54:24 +01:00
1e52db8967
renamed path to directoryPath in initLogger 2022-11-18 18:32:28 +01:00
1d27b98fbf
fixed test rule in core & logger workflows 2022-11-18 18:12:38 +01:00
cd27121592
created why2-logger-test workflow
I definetly didn't just copy why2-core-test
2022-11-18 18:09:56 +01:00
82fc512eb8
updated why2-core-test workflow's path to test
added core into path yk
2022-11-18 18:06:56 +01:00