API reference documentation

Summary:
Documented all exposed Sandy APIs plugin developers should know about.

Honestly didn't proof-read it myself yet, but wanted to publish this diff at least before PTO, so that the information is available to anyone interested / playing with sandy

Reviewed By: jknoxville

Differential Revision: D22976373

fbshipit-source-id: c30918201d2feeb306ca0d9a3ae1ec10bdf7e2f5
This commit is contained in:
Michel Weststrate
2020-08-24 04:54:58 -07:00
committed by Facebook GitHub Bot
parent ecc3a280cf
commit 8a5860cb78
3 changed files with 11 additions and 10 deletions

View File

@@ -15,12 +15,12 @@ export type DeviceLogListener = (entry: DeviceLogEntry) => void;
export type DeviceLogEntry = {
readonly date: Date;
readonly type: LogLevel;
readonly message: string;
readonly pid: number;
readonly tid: number;
readonly app?: string;
readonly type: LogLevel;
readonly tag: string;
readonly message: string;
};
export type LogLevel =