You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/v1/index.js
+15-15
Original file line number
Diff line number
Diff line change
@@ -69,9 +69,9 @@ const auth = {
69
69
constUSER_AGENT="neo4j-javascript/"+VERSION;
70
70
71
71
/**
72
-
* Object containing predefined logging configurations. These are expected to be used as values of the driver config's <code>logging</code> property.
73
-
* @property {function(level: ?string): object} console the function to create a logging config that prints all messages to <code>console.log</code> with
74
-
* timestamp, level and message. It takes an optional <code>level</code> parameter which represents the maximum log level to be logged. Default value is 'info'.
72
+
* Object containing predefined logging configurations. These are expected to be used as values of the driver config's `logging` property.
73
+
* @property {function(level: ?string): object} console the function to create a logging config that prints all messages to `console.log` with
74
+
* timestamp, level and message. It takes an optional `level` parameter which represents the maximum log level to be logged. Default value is 'info'.
75
75
*/
76
76
constlogging={
77
77
console: level=>{
@@ -136,7 +136,7 @@ const logging = {
136
136
*
137
137
* // The max number of connections that are allowed idle in the pool at any time.
138
138
* // Connection will be destroyed if this threshold is exceeded.
139
-
* // <b>Deprecated:</b> please use <code>maxConnectionPoolSize</code> instead.
139
+
* // **Deprecated:** please use `maxConnectionPoolSize` instead.
140
140
* connectionPoolSize: 100,
141
141
*
142
142
* // The maximum total number of connections allowed to be managed by the connection pool, per host.
* // Make this driver always return native JavaScript numbers for integer values, instead of the
179
179
* // dedicated {@link Integer} class. Values that do not fit in native number bit range will be represented as
180
-
* // <code>Number.NEGATIVE_INFINITY</code> or <code>Number.POSITIVE_INFINITY</code>.
181
-
* // <b>Warning:</b> It is not always safe to enable this setting when JavaScript applications are not the only ones
180
+
* // `Number.NEGATIVE_INFINITY` or `Number.POSITIVE_INFINITY`.
181
+
* // **Warning:** ResultSummary It is not always safe to enable this setting when JavaScript applications are not the only ones
182
182
* // interacting with the database. Stored numbers might in such case be not representable by native
183
183
* // {@link Number} type and thus driver will return lossy values. This might also happen when data was
184
184
* // initially imported using neo4j import tool and contained numbers larger than
185
-
* // <code>Number.MAX_SAFE_INTEGER</code>. Driver will then return positive infinity, which is lossy.
186
-
* // Default value for this option is <code>false</code> because native JavaScript numbers might result
185
+
* // `Number.MAX_SAFE_INTEGER`. Driver will then return positive infinity, which is lossy.
186
+
* // Default value for this option is `false` because native JavaScript numbers might result
187
187
* // in loss of precision in the general case.
188
188
* disableLosslessIntegers: false,
189
189
*
190
-
* // Specify the logging configuration for the driver. Object should have two properties <code>level</code> and <code>logger</code>.
190
+
* // Specify the logging configuration for the driver. Object should have two properties `level` and `logger`.
191
191
* //
192
-
* // Property <code>level</code> represents the logging level which should be one of: 'error', 'warn', 'info' or 'debug'. This property is optional and
192
+
* // Property `level` represents the logging level which should be one of: 'error', 'warn', 'info' or 'debug'. This property is optional and
193
193
* // its default value is 'info'. Levels have priorities: 'error': 0, 'warn': 1, 'info': 2, 'debug': 3. Enabling a certain level also enables all
194
194
* // levels with lower priority. For example: 'error', 'warn' and 'info' will be logged when 'info' level is configured.
195
195
* //
196
-
* // Property <code>logger</code> represents the logging function which will be invoked for every log call with an acceptable level. The function should
197
-
* // take two string arguments <code>level</code> and <code>message</code>. The function should not execute any blocking or long-running operations
196
+
* // Property `logger` represents the logging function which will be invoked for every log call with an acceptable level. The function should
197
+
* // take two string arguments `level` and `message`. The function should not execute any blocking or long-running operations
198
198
* // because it is often executed on a hot path.
199
199
* //
200
-
* // No logging is done by default. See <code>neo4j.logging</code> object that contains predefined logging implementations.
200
+
* // No logging is done by default. See `neo4j.logging` object that contains predefined logging implementations.
0 commit comments