-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated release 4.0 (fixes for Excel RTD functionality, updated dependencies, logging and versioning information) * Updated documentation for release 4.0
- Loading branch information
Showing
32 changed files
with
1,848 additions
and
3,767 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# OpenFin Excel API Logs | ||
|
||
## From Version 4 | ||
|
||
### Client Logs | ||
|
||
From version 4.0 onwards you can pass true to the init function and it will enable logging (you will see the excel api console.log entries). | ||
|
||
```javascript | ||
await fin.desktop.ExcelService.init(true); | ||
``` | ||
|
||
If you wish to add these logs to your own logging setup you can pass an object with the following implementation (the following is the Typescript interface to give you an idea): | ||
|
||
```javascript | ||
export interface ILog { | ||
name?: string; | ||
trace?: (message, ...args) => void; | ||
debug?: (message, ...args) => void; | ||
info?: (message, ...args) => void; | ||
warn?: (message, ...args) => void; | ||
error?: (message, error, ...args) => void; | ||
fatal?: (message, error, ...args) => void; | ||
} | ||
``` | ||
If you pass an object but do not provide a full implementation then we will use our default implementation that logs to the console for the functions that are not provided. | ||
|
||
This is to help with debugging if you wish to verify something. | ||
|
||
### Excel Provider Logs | ||
|
||
The excel provider will log information to a log file. If you go to your OpenFin/apps directory you should find the Excel-Service-Manager app and this should have an app.log file within it's folder. | ||
|
||
### Excel Helper/Plugin Logs | ||
|
||
These produce logs to help with debugging and can be found by going to your OpenFin\shared\assets\excel-api-addin\logging folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# OpenFin Excel API Version Numbers | ||
|
||
## From Version 4 | ||
|
||
### Client Version | ||
|
||
From version 4.0 onwards you can find out the client version (for log purposes etc) by logging: | ||
|
||
```javascript | ||
fin.desktop.Excel.version; | ||
``` | ||
|
||
### Excel Provider Version | ||
|
||
To confirm you are connecting to the ExcelService you expect you can log/check: | ||
|
||
```javascript | ||
fin.desktop.ExcelService.version; | ||
``` | ||
|
||
### Excel Helper/Plugin Version | ||
|
||
From version 4 you and your end users can confirm you are using the right excel plugin version by looking at Excel. | ||
|
||
The message will now say Connected to OpenFin (v x.x.x.x) |
Oops, something went wrong.