Skip to content

Commit 92eb6ef

Browse files
committed
Fix a couple issues
1 parent b18b8b9 commit 92eb6ef

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
To set a custom logger function with the C++ SDK, create a
22
:cpp-sdk:`realm::logger <structrealm_1_1logger.html#a1c4a96ab2eb5e6b164f17552c233104a>`
33
and override the virtual ``do_log()`` member function.
4+
5+
.. literalinclude:: /examples/generated/cpp/logger.snippet.create-custom-logger.cpp
6+
:language: cpp

source/includes/sdk-examples/logger/logging-set-custom-logger-example.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
- id: csharp
1111
content: |
1212

13-
.. literalinclude:: /examples/MissingPlaceholders/example.cs
13+
.. literalinclude:: /examples/generated/dotnet/ErrorHandler.snippet.customize-logging-function.cs
1414
:language: csharp
15-
:copyable: false
1615

1716
- id: dart
1817
content: |
@@ -45,3 +44,4 @@
4544
.. literalinclude:: /examples/generated/node/v12/logger.test.snippet.set-custom-logger.ts
4645
:language: typescript
4746
:copyable: false
47+

0 commit comments

Comments
 (0)