Andrew Welker
13acf2fb14
chore: remove unneeded files
2025-03-04 08:40:36 -06:00
Andrew Welker
638df4dd3b
feat!: support only .NET Framework 4.7.2
...
In order to conform with the plugin format and the workflow, the .csproj
file was moved up a level to the root of the `src` folder and the
solution file was renamed.
Workflows were also changed to match the plugin workflows.
BREAKING CHANGE: Supports ONLY .NET Framework 4.7.2
2025-03-04 08:28:30 -06:00
Andrew Welker
b7fcb94098
fix: merge errors that weren't caught on edit
2025-03-03 17:15:55 -06:00
Andrew Welker
3458897057
merge development into release-2
2025-03-03 17:09:34 -06:00
Andrew Welker
a60a277e49
fix: handle Renci timeout exception
2025-02-19 16:40:25 -06:00
Andrew Welker
5908e67055
feat: update SSH Client to use Renci SSH.NET instead of Crestron
...
Also added `LogException` extension method for IKeyed things.
2025-02-19 13:05:05 -06:00
Andrew Welker
fa88e1b744
fix: add null value handling and make some values nullable
2024-05-28 13:50:53 -05:00
Andrew Welker
b590bfe97b
fis: add json props to control properties config
2024-05-28 13:19:45 -05:00
Andrew Welker
706f10db98
fix: removed log to error for vc-4 from final method
2024-05-17 11:11:14 -05:00
Andrew Welker
e9dcd1636a
build: update Crestron libraries
2024-05-16 00:02:47 -05:00
Andrew Welker
fb3e9774c7
fix: modify format for error log depending on environment
2024-05-15 23:54:34 -05:00
Andrew Welker
e9be8c98a2
refactor: remove room
2024-05-15 23:54:09 -05:00
Andrew Welker
e581eede56
fix: match error log & console formats
2024-05-15 23:42:31 -05:00
Andrew Welker
d7f57439c8
refactor: update log message format for console
2024-05-15 23:37:39 -05:00
Andrew Welker
14e6aa4dc8
fix: missing }
2024-05-15 15:38:06 -05:00
Andrew Welker
ec2f8ffd92
fix: modify how messages are formatted
2024-05-15 15:26:41 -05:00
Andrew Welker
5bdd9e02bb
feat: Add enricher to automatically add App property to all messages
...
This enricher can be enhanced in the future to add additional properties that we might want without affecting anything else.
2024-05-15 15:26:25 -05:00
Andrew Welker
2e8edfc395
feat: add IKeyed extensions for logging
2024-05-14 22:29:14 -05:00
Andrew Welker
ed66be3dd9
fix: LogError message forwards to LogMessage
...
Console overload with ErrorLogLevel parameter also forwards directly to LogMessage and skips LogError method
2024-05-14 22:29:02 -05:00
Andrew Welker
7a4a91cfd5
fix: add methods to set Error Log and File minimum level
...
In some situations, like on VC-4, it is necessary to see verbose and debug messages in the error log/journalctl/file log. This change allows those values to be set using a method.
2024-05-01 09:32:54 -05:00
Andrew Welker
46b8e24968
fix: use correct quotes
2024-03-27 15:33:19 -05:00
Andrew Welker
99d0b2ea3a
feat: add method to log Exceptions using default Serilog options
...
Alos modified console sink to pad non-keyed messages with 3 characters of empty space
2024-03-27 11:49:04 -05:00
Andrew Welker
f2f40c7197
refactor: use RenderedCompactJsonFormatter for files now
2024-03-21 11:25:57 -05:00
Andrew Welker
b98d8d49ba
feat: add Errorlog sink
2024-03-21 11:13:12 -05:00
Andrew Welker
8403265c26
feat: update file sink format to include key if available
2024-03-21 10:17:20 -05:00
Andrew Welker
244aa26c42
feat: add CrestronLogger Serilog Sink
2024-03-21 09:45:49 -05:00
Andrew Welker
a7f9799370
feat: update appdebug command
...
`appdebug` command now takes levels as either integers 0-5 or Serilg `LogEventLevel` strings, `Information` etc.
2024-03-20 15:56:45 -05:00
Andrew Welker
b41f4190be
feat: add public LogMessage methods
...
Also add logic to allow using string like `Information` with `appdebug` console command.
2024-03-20 10:24:27 -05:00
Andrew Welker
32caa005a3
fix: add console log level recall
2024-03-13 08:21:15 -05:00
Andrew Welker
ada8b7e162
fix: update logging format to include key
2024-03-08 08:47:43 -06:00
Andrew Welker
eeb1e22e60
refactor: use 1GetAwaiter().GetResult() instead of Wait()`
2024-02-15 08:39:40 -06:00
Andrew Welker
0b178ca264
chore: remove extraneous curly brace
2024-02-14 15:46:27 -06:00
Andrew Welker
212d987f8c
feat: Add Async WebRequest handler
...
In order to allow async/await operations to work, we need to treat the tasks differently. If the `ProcessRequest` method completes before whatever async/await operations are running complete, then the underlying connection is closed and nothing can be written to the requestor.
2024-02-14 15:43:40 -06:00
Andrew Welker
b13a178788
Merge dev-2
2024-02-05 12:55:49 -06:00
Andrew Welker
5b6c8c3ebb
buid: remove unnecessary references for .NET 6
2024-02-02 09:44:41 -06:00
Andrew Welker
b238681918
build: missing tag
2024-02-02 09:39:45 -06:00
Andrew Welker
79cbbc2d5b
Merge branch 'development-2' into feature-2/multi-targeting
2024-02-02 09:37:22 -06:00
Andrew Welker
4825f1ec39
build: removed unnecessary references for .NET 6
2023-12-28 13:02:51 -06:00
Andrew Welker
dafc0366aa
build: add net6 target
...
Using the SDK stlye project, it is fairly easy to target multiple
frameworks. For support here, a Crestron package update was necessary,
but targeting both .NET6 & .NET Framework 4.7.2 is possible. This should
allow us to support .NET 6 on 4-series processors, while still
supporting .NET Framework 4.7.2 on VC-4.
2023-12-28 12:03:00 -06:00
Neil Dorin
def22cfe91
fix: sets overall min log level in logger config
2023-11-29 12:14:56 -07:00
Neil Dorin
9001c6c369
feat: sets debug level on output log messages from websocket server
2023-11-24 11:52:37 -07:00
Neil Dorin
58fcd91fa2
fix: minor adjustments to debug statement levels
2023-11-23 15:33:22 -07:00
Neil Dorin
5931c1fb78
fix: fixes setting log level in LogMessage
2023-11-23 12:34:19 -07:00
Neil Dorin
1abffd82ca
fix: reworks how the console debug level is set
2023-11-23 12:11:36 -07:00
Neil Dorin
5b2453c2cc
feat: improments to setting debug level from console
2023-11-23 11:28:25 -07:00
Neil Dorin
65800193bb
feat: adds methods to get/set websocket min log level
2023-11-22 17:31:36 -07:00
Neil Dorin
3debb30d53
fix: consolidates log messages
2023-11-22 16:44:52 -07:00
Neil Dorin
15024b57f2
feat: adds console sink for Serilog
2023-11-22 14:03:01 -07:00
Neil Dorin
6c32f371fa
fix: makes logging format consistent
2023-11-20 16:27:13 -07:00
Neil Dorin
fac210676c
fix: switches formatters
2023-11-20 15:40:00 -07:00