Andrew Welker
9b02152781
Merge pull request #175 from PepperDash/feature-2/fix-logError-message
...
Remove LogError from overload of Console
2024-05-20 11:11:51 -05:00
Andrew Welker
706f10db98
fix: removed log to error for vc-4 from final method
2.0.0-alpha-417
2024-05-17 11:11:14 -05:00
Joshua_Gutenplan
d403c295ab
Merge pull request #174 from PepperDash/feature-2/fix-logError-message
...
Logging updates
2024-05-15 22:13:51 -07:00
Andrew Welker
e9dcd1636a
build: update Crestron libraries
2.0.0-alpha-414
2024-05-16 00:02:47 -05:00
Andrew Welker
fb3e9774c7
fix: modify format for error log depending on environment
2.0.0-alpha-413
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
2.0.0-alpha-412
2.0.0-alpha-411
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 }
2.0.0-alpha-410
2024-05-15 15:38:06 -05:00
Andrew Welker
ec2f8ffd92
fix: modify how messages are formatted
2.0.0-alpha-409
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
2.0.0-alpha-408
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
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
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
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