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

feat: Add support for getting the logger from server-side SDKs. #684

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

kinyoklion
Copy link
Member

No description provided.

*
* For all platforms that support logging the logger should be present.
*/
get logger(): LDLogger | undefined;
Copy link
Member Author

Choose a reason for hiding this comment

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

Using an accessor here instead of a readonly property which should make this a little more flexible and also less likely to be assigned over in JS.

Copy link
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 18669 bytes
Size limit: 21000

Copy link
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Size: 19414 bytes
Size limit: 21000

Copy link
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 15292 bytes
Size limit: 20000

@kinyoklion kinyoklion marked this pull request as ready for review November 13, 2024 18:28
@kinyoklion kinyoklion requested a review from a team as a code owner November 13, 2024 18:28
@kinyoklion kinyoklion merged commit 1c411a1 into main Nov 13, 2024
22 checks passed
@kinyoklion kinyoklion deleted the rlamb/access-server-logger branch November 13, 2024 19:27
@github-actions github-actions bot mentioned this pull request Nov 13, 2024
kinyoklion pushed a commit that referenced this pull request Nov 14, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>akamai-edgeworker-sdk-common: 1.3.2</summary>

##
[1.3.2](akamai-edgeworker-sdk-common-v1.3.1...akamai-edgeworker-sdk-common-v1.3.2)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common bumped from ^2.9.1 to ^2.10.0
</details>

<details><summary>akamai-server-base-sdk: 2.1.20</summary>

##
[2.1.20](akamai-server-base-sdk-v2.1.19...akamai-server-base-sdk-v2.1.20)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^1.3.1 to
^1.3.2
    * @launchdarkly/js-server-sdk-common bumped from ^2.9.1 to ^2.10.0
</details>

<details><summary>akamai-server-edgekv-sdk: 1.3.0</summary>

##
[1.3.0](akamai-server-edgekv-sdk-v1.2.1...akamai-server-edgekv-sdk-v1.3.0)
(2024-11-14)


### Features

* Upgrade edgekv bundled files to 0.6.3
([#610](#610))
([58dfec6](58dfec6))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^1.3.1 to
^1.3.2
    * @launchdarkly/js-server-sdk-common bumped from ^2.9.1 to ^2.10.0
</details>

<details><summary>cloudflare-server-sdk: 2.6.2</summary>

##
[2.6.2](cloudflare-server-sdk-v2.6.1...cloudflare-server-sdk-v2.6.2)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/js-server-sdk-common-edge bumped from 2.5.1 to 2.5.2
</details>

<details><summary>js-server-sdk-common: 2.10.0</summary>

##
[2.10.0](js-server-sdk-common-v2.9.1...js-server-sdk-common-v2.10.0)
(2024-11-14)


### Features

* Add support for getting the logger from server-side SDKs.
([#684](#684))
([1c411a1](1c411a1))
</details>

<details><summary>js-server-sdk-common-edge: 2.5.2</summary>

##
[2.5.2](js-server-sdk-common-edge-v2.5.1...js-server-sdk-common-edge-v2.5.2)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.9.1 to 2.10.0
</details>

<details><summary>node-server-sdk: 9.7.2</summary>

##
[9.7.2](node-server-sdk-v9.7.1...node-server-sdk-v9.7.2)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.9.1 to 2.10.0
</details>

<details><summary>node-server-sdk-dynamodb: 6.2.2</summary>

##
[6.2.2](node-server-sdk-dynamodb-v6.2.1...node-server-sdk-dynamodb-v6.2.2)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/node-server-sdk bumped from 9.7.1 to 9.7.2
  * peerDependencies
    * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.7.2
</details>

<details><summary>node-server-sdk-otel: 1.1.2</summary>

##
[1.1.2](node-server-sdk-otel-v1.1.1...node-server-sdk-otel-v1.1.2)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/node-server-sdk bumped from 9.7.1 to 9.7.2
  * peerDependencies
    * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.7.2
</details>

<details><summary>node-server-sdk-redis: 4.2.2</summary>

##
[4.2.2](node-server-sdk-redis-v4.2.1...node-server-sdk-redis-v4.2.2)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/node-server-sdk bumped from 9.7.1 to 9.7.2
  * peerDependencies
    * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.7.2
</details>

<details><summary>server-sdk-ai: 0.2.1</summary>

##
[0.2.1](server-sdk-ai-v0.2.0...server-sdk-ai-v0.2.1)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.9.0 to 2.10.0
  * peerDependencies
    * @launchdarkly/js-server-sdk-common bumped from 2.x to 2.10.0
</details>

<details><summary>vercel-server-sdk: 1.3.21</summary>

##
[1.3.21](vercel-server-sdk-v1.3.20...vercel-server-sdk-v1.3.21)
(2024-11-14)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-server-sdk-common-edge bumped from 2.5.1 to 2.5.2
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants