Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging API #132

Merged
merged 6 commits into from
Sep 23, 2024
Merged

Logging API #132

merged 6 commits into from
Sep 23, 2024

Conversation

SteveBoytsun
Copy link
Contributor

Description of Changes

Describe what has been changed, any new features or bug fixes

Changed logging based on this proposal

API

  • This is an API breaking change to the SDK

If the API is breaking, please state below what will break

Logging interface is different now. Logger has been renamed to Log, and its methods have been renamed as well (ex. Logger.LogError is now Log.Error)

Requires SpacetimeDB PRs

List any PRs here that are required for this SDK change to work

bfops and others added 4 commits August 29, 2024 16:36
## Description of Changes
Redo these PRs:
-
clockworklabs/com.clockworklabs.spacetimedbsdk-archive#56
-
clockworklabs/com.clockworklabs.spacetimedbsdk-archive#59
-
clockworklabs/com.clockworklabs.spacetimedbsdk-archive#61

I'm not sure how these repos were merged in
#117, but it
appears that this wasn't carried over. (Either way we need to make this
a required check).

## API
No


## Requires SpacetimeDB PRs
*List any PRs here that are required for this SDK change to work*

Co-authored-by: Zeke Foppa <[email protected]>
## Description of Changes
#123 reverted the non-code-changes in #119. This cherrypicks them back.

See the discussion at
732dd28#r146042766
for more context.

Co-authored-by: Jeremie Pelletier <[email protected]>
## Description of Changes
This releases a cherrypick of #127, so that `master` has the correct
version number.

## API
No breaking changes.

## Requires SpacetimeDB PRs
None

Co-authored-by: Zeke Foppa <[email protected]>
src/ConsoleLogger.cs Outdated Show resolved Hide resolved
Copy link
Member

@RReverser RReverser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit, otherwise LGTM.

Steve Boytsun and others added 2 commits September 23, 2024 13:24
# Conflicts:
#	DEVELOP.md
Co-authored-by: Ingvar Stepanyan <[email protected]>
@SteveBoytsun SteveBoytsun merged commit 65c97ad into staging Sep 23, 2024
2 checks passed
@SteveBoytsun SteveBoytsun deleted the steve/logging branch September 23, 2024 17:52
bfops added a commit that referenced this pull request Oct 4, 2024
## Description of Changes
Release these changes:
```
2783385 0.12.0 DLLs (again) (#161)
7046408 Update to tests/examples follow codegen changes (#160)
a7c720f Use SpacetimeDBNetworkManager everywhere (#157)
8916c18 Upgrade SDK Version to 0.12 (#156)
b79d90c Fix UnityNetworkManager (#141)
cff42fb Accept multiple queries in Subscribe (#153)
8f9614d Update DLLs for 0.12.0 (#152)
62a092e Jeremie/remove break (#154)
ce76890 Try to catch flaky bugs (#150)
8ce9b7b Remove obsolete tools folder (#149)
19e8979 Fix `gen-client-api` scripts for new CLI API (#151)
f04e2fd Add script to generate `nuget.config` (#115)
f9c71c0 Don't actually try to connect to network in tests (#144)
00d2741 Reduce public API surface further (#145)
2bed3c3 Tighten package sources in C# smoketests (#133)
63e6f79 Fix UnityDebugLogger implementation (#143)
8df6d15 Implement websocket changes atop C# sdk changes (#136)
95b9d17 Hide more APIs (#140)
2aae961 Add DbConnection argument to OnConnect (#138)
0981b89 Merge table cache into table handle (#139)
f8ddab7 Subscription API (#137)
7bef448 c# client SDK (DbConnection + SDK Callbacks) (#131)
65c97ad Logging API (#132)
7941798 Copy files from old repo (#127)
9904a02 Nix `Primitives.cs` - types now defined in main repo (#120)
5e612f3 Update DEVELOP.md to reflect new codegen (#119)
ae7c531 Restore `dotnet pack` functionality (#118)
9481380 Don't use BuiltinType.I/U128, use AlgebraicType.I/U128 (#116)
```
## API
Almost certainly a breaking change


## Requires SpacetimeDB PRs
Requires version 0.12.0 in SpacetimeDB

---------

Co-authored-by: Mazdak Farrokhzad <[email protected]>
Co-authored-by: Zeke Foppa <[email protected]>
Co-authored-by: Jeremie Pelletier <[email protected]>
Co-authored-by: Ingvar Stepanyan <[email protected]>
Co-authored-by: SteveGibson <[email protected]>
Co-authored-by: Steve Boytsun <[email protected]>
Co-authored-by: John Detter <[email protected]>
Co-authored-by: John Detter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants