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
Neil Dorin
d4281175d8
fix: Copies SSH updates from 1.3.3-hotfix-390
2.0.0-alpha-407
2024-05-14 14:58:29 -06:00
Neil Dorin
305722236f
fix: removes unnecessary lib folder from project
2.0.0-alpha-406
2024-05-07 16:16:51 -06:00
Neil Dorin
3e9deba0b6
fix: Adds more JsonProperty decorators to comm interfaces
2024-05-07 16:14:35 -06:00
Neil Dorin
2558f44f9a
fix: Adds try/catch around pre/post activation calls and adds JsonProperty decorators to Key and Name properties in interfaces
2.0.0-alpha-405
2024-05-07 16:12:17 -06:00
Neil Dorin
165841b802
Merge pull request #173 from PepperDash/feature-2/update-logging
...
Update Debug Logging
2024-05-01 09:59:36 -06: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.
2.0.0-alpha-403
2024-05-01 09:32:54 -05:00
Andrew Welker
46b8e24968
fix: use correct quotes
2.0.0-alpha-402
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
Neil Dorin
a9a6003d1f
Merge pull request #172 from PepperDash/feature-2/update-logging
...
feat: add Errorlog sink
2024-03-21 10:27:59 -06:00
Andrew Welker
f2f40c7197
refactor: use RenderedCompactJsonFormatter for files now
2.0.0-alpha-399
2024-03-21 11:25:57 -05:00
Andrew Welker
b98d8d49ba
feat: add Errorlog sink
2.0.0-alpha-398
2024-03-21 11:13:12 -05:00
Neil Dorin
985e7b952d
Merge pull request #171 from PepperDash/feature-2/update-logging
...
Multiple Updates for logging
2024-03-21 09:39:02 -06:00
Andrew Welker
8403265c26
feat: update file sink format to include key if available
2.0.0-alpha-396
2024-03-21 10:17:20 -05:00
Andrew Welker
244aa26c42
feat: add CrestronLogger Serilog Sink
2.0.0-alpha-395
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.
2.0.0-alpha-393
2024-03-20 10:24:27 -05:00
Andrew Welker
32caa005a3
fix: add console log level recall
2.0.0-alpha-392
2024-03-13 08:21:15 -05:00
Andrew Welker
ada8b7e162
fix: update logging format to include key
2.0.0-alpha-391
2024-03-08 08:47:43 -06:00
jtalborough
63f6bb9cf2
fix: refactor the ssh handeler to use ShellStream.Read()
1.3.3-hotfix-390
2024-02-26 12:58:42 -05:00
Neil Dorin
bf7b1f4b58
Merge pull request #170 from PepperDash/feature-2/adds-web-classes
...
Add Async handler for CWS Web Requests
2024-02-15 15:33:20 -07:00
Andrew Welker
eeb1e22e60
refactor: use 1GetAwaiter().GetResult() instead of Wait()`
2.0.0-alpha-388
2024-02-15 08:39:40 -06:00
Andrew Welker
0b178ca264
chore: remove extraneous curly brace
2.0.0-alpha-387
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
277dccd3d8
Merge pull request #169 from PepperDash/feature-2/adds-web-classes
...
Update debugging and add web stuff
2024-02-05 13:15:31 -06:00
Andrew Welker
b13a178788
Merge dev-2
2.0.0-alpha-384
2024-02-05 12:55:49 -06:00
Andrew Welker
2b95857441
Merge pull request #168 from PepperDash/feature-2/multi-targeting
...
Build for both .NET 6 & .NET Framework 4.7.2
2024-02-02 09:51:59 -06:00
Andrew Welker
5b6c8c3ebb
buid: remove unnecessary references for .NET 6
2.0.0-alpha-382
2024-02-02 09:44:41 -06:00
Andrew Welker
b238681918
build: missing tag
2.0.0-alpha-381
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
646b335342
Merge pull request #167 from PepperDash/feature-2/remove-full-newtonsoft
...
fix: removed Newtonsoft.JSON full and aliases
2024-02-01 15:13:37 -06:00
Andrew Welker
0aa095d38c
Merge pull request #166 from PepperDash/hotfix/165-bug-generictcpipclient-throws-null-ref-in-older-simpl-windows-only-scenarios
...
fix: StreamDebugging in default constructor
2.0.0-beta-385
2.0.0-beta-389
2.0.0-beta-397
2.0.0-beta-400
1.3.2
1.3.2-hotfix-378
2.0.0-beta-383
2.0.0-beta-379
2.0.0-beta-404
2.0.0-beta-415
2.0.0-beta-418
2.0.0-beta-423
2.0.0-beta-452
v1.3.2
2024-01-03 08:58:33 -06:00
Andrew Welker
4825f1ec39
build: removed unnecessary references for .NET 6
2.0.0-alpha-377
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.
2.0.0-alpha-376
2023-12-28 12:03:00 -06:00
Neil Dorin
def22cfe91
fix: sets overall min log level in logger config
2.0.0-alpha-375
2023-11-29 12:14:56 -07:00
Neil Dorin
9001c6c369
feat: sets debug level on output log messages from websocket server
2.0.0-alpha-374
2023-11-24 11:52:37 -07:00
Neil Dorin
58fcd91fa2
fix: minor adjustments to debug statement levels
2.0.0-alpha-373
2023-11-23 15:33:22 -07:00
Neil Dorin
5931c1fb78
fix: fixes setting log level in LogMessage
2.0.0-alpha-372
2023-11-23 12:34:19 -07:00
Neil Dorin
1abffd82ca
fix: reworks how the console debug level is set
2.0.0-alpha-371
2023-11-23 12:11:36 -07:00
Neil Dorin
5b2453c2cc
feat: improments to setting debug level from console
2.0.0-alpha-370
2023-11-23 11:28:25 -07:00
Neil Dorin
65800193bb
feat: adds methods to get/set websocket min log level
2.0.0-alpha-369
2023-11-22 17:31:36 -07:00
Neil Dorin
3debb30d53
fix: consolidates log messages
2.0.0-alpha-368
2023-11-22 16:44:52 -07:00
Neil Dorin
15024b57f2
feat: adds console sink for Serilog
2.0.0-alpha-367
2023-11-22 14:03:01 -07:00
Neil Dorin
6c32f371fa
fix: makes logging format consistent
2.0.0-alpha-366
2023-11-20 16:27:13 -07:00
Neil Dorin
fac210676c
fix: switches formatters
2.0.0-alpha-365
2023-11-20 15:40:00 -07:00
Neil Dorin
29c3fe22b1
fix: adds text formatter
2.0.0-alpha-364
2023-11-20 14:55:30 -07:00
Neil Dorin
6c51ce5b95
fix: adds IP from ethernet helper class
2.0.0-alpha-363
2023-11-20 14:02:43 -07:00
Neil Dorin
19032a0f6d
fix: Adds url property and utilizes private _path for consistency
2.0.0-alpha-362
2023-11-20 13:40:55 -07:00
Neil Dorin
40f540e23a
fix: fix rootPath for wss server
2.0.0-alpha-361
2023-11-20 13:11:46 -07:00
Neil Dorin
eece4dece1
fix: adds debug statement to log output
2.0.0-alpha-360
2023-11-20 12:59:49 -07:00