From 48f741b7923a8cd8ec8c6497472eecaa42efc91c Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Mon, 8 Apr 2024 15:02:32 +0530 Subject: [PATCH] Tweak docs --- desktop/src/main/log.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/desktop/src/main/log.ts b/desktop/src/main/log.ts index 81f24b68b..1c65dcff0 100644 --- a/desktop/src/main/log.ts +++ b/desktop/src/main/log.ts @@ -80,10 +80,11 @@ export default { * Log an error message with an optional associated error object. * * {@link e} is generally expected to be an `instanceof Error` but it can be - * any arbitrary object that we obtain, say, when in a try-catch handler. + * any arbitrary object that we obtain, say, when in a try-catch handler (in + * JavaScript any arbitrary value can be thrown). * * The log is written to disk. In development builds, the log is also - * printed to the (Node.js process') console. + * printed to the main (Node.js) process console. */ error: logError, /** @@ -93,7 +94,7 @@ export default { * arbitrary number of arbitrary parameters that it then serializes. * * The log is written to disk. In development builds, the log is also - * printed to the (Node.js process') console. + * printed to the main (Node.js) process console. */ info: logInfo, /** @@ -106,8 +107,8 @@ export default { * The function can return an arbitrary value which is serialied before * being logged. * - * This log is not written to disk. It is printed to the (Node.js process') - * console only on development builds. + * This log is not written to disk. It is printed to the main (Node.js) + * process console only on development builds. */ debug: logDebug, };