Commit Graph

32 Commits

Author SHA1 Message Date
gingerBill
a60d22fefd Make trailing comma usage consistent 2021-03-13 21:18:07 +00:00
gingerBill
3bcccf88d5 vet all core packages 2021-01-09 23:43:34 +00:00
gingerBill
8806283cf7 Improve location information for log.panic* 2020-10-14 15:59:45 +01:00
gingerBill
6eeb12a986 Improve default temp_allocator; make nil loggers do nothing; improve mem.Scratch_Allocator behaviour 2020-10-02 16:06:55 +01:00
gingerBill
fc4fdd588e Remove usage of do in core library 2020-09-23 17:17:14 +01:00
gingerBill
674aeffee4 Fix typo 2020-08-12 19:15:47 +01:00
gingerBill
546759bdef Fix multi_logger_proc to check for lowest_level 2020-08-12 19:01:25 +01:00
Oskar Nordquist
36cac87387 Add .Thread_Id option to log package 2020-07-22 17:42:01 +02:00
jharler
f9a6777e3a Added "sep" parameter to logging procs 2020-07-13 08:22:41 -04:00
Mikkel Hjortshoej
d749f5c704 Fix typo 2020-07-02 16:13:49 +02:00
Mikkel Hjortshoej
83f553cd89 Revert to old format and fix : when no file opt specified 2020-07-02 16:11:41 +02:00
Mikkel Hjortshoej
730f9ee0b3 Fix misplaced line number (was wrongly formatted and before procedure) 2020-07-02 15:31:40 +02:00
gingerBill
2a6130b7e1 Reorder log.do_location_header order 2020-06-19 15:24:42 +01:00
gingerBill
34384cc2f1 Clean up some of the log code 2020-06-19 15:18:23 +01:00
gingerBill
01c84b32a6 Add log.panic and log.panicf 2020-06-19 12:23:06 +01:00
gingerBill
240fc65d4d Add multi_logger.odin; Fix os_windows.odin 2020-06-19 11:49:08 +01:00
gingerBill
9f596d6f34 Clean up package log code 2020-06-19 11:18:23 +01:00
Mikkel Hjortshoej
a6c8dcdd21 Switch from now removed context.stdout/stderr to os.stdout/stderr 2020-03-28 14:13:47 +01:00
gingerBill
e92fdb4a99 x if cond else y and x when cond else y expressions 2020-03-05 20:34:30 +00:00
Mikkel Hjortshoej
9d5692ae68 Enhance logger interface with 'f' and not 'f' variants, also move level detection out 2020-02-10 01:26:04 +01:00
Mikkel Hjortshoej
0e52c37865 Don't change delimiter as location has changed to be unified no matter the platform 2020-01-08 21:29:46 +01:00
gingerBill
ab52f8d795 Move definition of mem.Allocator and log.Logger to package runtime, to reduce import cycle magic 2019-12-31 12:15:19 +00:00
gingerBill
657103c4cf ThreadPool for the parser 2019-09-01 20:02:39 +01:00
gingerBill
162c87b1b8 Minor code clean-up 2019-07-28 18:44:50 +01:00
gingerBill
68d4bde82f Overrideable stdin, stdout, stderr at the context level 2019-03-30 14:51:42 +00:00
gingerBill
594238a86c Reorganize fmt and strings; Replace fmt.String_Buffer with strings.Builder 2019-01-06 14:41:42 +00:00
gingerBill
4167168c63 Fix vetting 2018-12-31 16:37:27 +00:00
Mikkel Hjortshoej
a565d842da Copy instead of loop 2018-12-08 16:12:20 +01:00
Mikkel Hjortshoej
411d1450b0 Add timestamp support using the new core:time 2018-12-08 16:02:33 +01:00
Mikkel Hjortshoej
984fa1c672 remove ident from logger struct 2018-12-08 15:32:53 +01:00
Mikkel Hjortshoej
12c810f85d Add a file-, console- and multi-logger 2018-12-08 15:32:53 +01:00
gingerBill
099995e7dd Add basics for context-based Logger 2018-10-20 13:02:30 +01:00