Commit Graph
16 Commits
Author SHA1 Message Date
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
Kenneth Hsu afab61a05b Use pattern matching to simplify casts. 2019-10-19 10:15:38 -07:00
Kenneth Hsu e9f0c11f0c Mark field as readonly.
This makes it explicit at compile-time that the field should not be
reassigned.
2018-12-31 15:09:53 -08:00
Kenneth Hsu 9e0b031fee Remove unused members. 2018-10-15 21:20:30 -07:00
Kenneth Hsu f12858e6a5 Mark fields that shouldn't be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Kenneth Skovhede 682159623c Split out the Tag and FilterTag properties to allow re-entering a log message without adding chaining strings to the message 2018-04-09 14:28:30 +02:00
Kenneth Hsu c00c6fd19b Make fields containing lock objects readonly.
If one of these fields is accidentally reassigned, it's possible for
threads to be oblivious to an existing lock.  By making the fields
readonly, we will be notified at compile-time if we inadvertently
redefine one of these fields.
2018-03-17 19:59:23 -07:00
Kenneth Skovhede 842fd96543 Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Rune Henriksen 843b3e4eb2 Made the LogData poll API respect pagesize. Defaults to 100 if no pagesize is provided 2018-02-20 21:55:06 +01:00
Kenneth Hsu f95b5861f5 Fix parameter name in ArgumentOutOfRangeException. 2017-10-14 11:43:31 -07:00
Kenneth Skovhede e692be5c92 Reworked the way log messages are handled, to include call-context setup.
This enables modules to report messages to the message-sink, and thus to the commandline through the normal interface.
This simplifies handling multiple logging systems, and supports reporting logging from multiple concurrent controller instances.

This fixes #2225
This fixes #1575
2017-01-09 23:27:56 +01:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede c07017764a Increased the amount and time logs are kept in memory 2014-08-12 11:09:45 +02:00
Kenneth Skovhede be987e3a4e Fixed the logic for the live-log so it records everything in the ring-buffer and only displays what is requested 2014-08-07 21:04:21 +02:00
Kenneth Skovhede 8c4fe2295d Removed unused variable 2014-08-05 23:02:47 +02:00
Kenneth Skovhede 9f99b08a53 Added missing file 2014-08-03 22:25:38 +02:00