Isaac Freund 0bd067d19a
Introduce std.log
std.log provides 8 log levels and corresponding logging functions. It
allows the user to override the logging "backend" by defining root.log
and to override the default log level by defining root.log_level.

Logging functions accept a scope parameter which allows the implementer
of the logging "backend" to filter logging by library as well as level.

Using the standardized syslog [1] log levels ensures that std.log will
be flexible enough to work for as many use-cases as possible. If we were
to stick with only 3/4 log levels, std.log would be insufficient for
large and/or complex projects such as a kernel or display server.

[1]: https://tools.ietf.org/html/rfc5424#section-6.2.1
2020-06-17 02:14:52 +02:00
..
2020-06-12 13:33:31 -04:00
2020-04-28 19:11:31 -06:00
2020-04-28 19:11:31 -06:00
2020-05-06 17:08:49 +05:00
2020-06-09 13:36:17 -04:00
2020-05-24 10:04:09 -04:00
2020-06-09 00:17:22 -04:00
2020-06-07 22:39:35 +10:00
2020-06-14 20:13:02 +03:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2020-01-29 22:22:01 -06:00
2020-04-04 17:37:51 -04:00
2020-06-02 14:56:19 -04:00
2020-05-25 19:46:28 -04:00
2020-06-09 13:36:17 -04:00
2020-02-16 13:25:30 -05:00
2020-06-09 13:36:17 -04:00
2020-05-29 18:30:09 -04:00
2019-10-11 18:13:24 -04:00
2020-06-09 00:22:34 -04:00
2019-09-25 23:35:41 -04:00
2020-06-09 13:36:17 -04:00
2020-06-15 23:51:25 +10:00
2020-05-24 10:04:09 -04:00
2020-06-17 02:14:52 +02:00
2020-02-22 12:44:21 +01:00
2020-05-01 06:47:20 -04:00
2020-06-12 13:33:31 -04:00
2020-06-09 13:36:17 -04:00
2020-06-09 13:36:17 -04:00
2020-05-05 09:38:02 -06:00
2020-06-17 02:14:52 +02:00
2020-06-01 14:43:13 -04:00