Skip to content

Commit

Permalink
add minor helper methods
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat authored and Patrick committed Feb 10, 2021
1 parent 69512e9 commit b369a94
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Ray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class Ray extends Mixin(RayColors, RaySizes) {
remote_path: null,
always_send_raw_values: false,
not_defined: false,
intercept_console_log: false,
intercept_console_log: true,
};
}

Expand Down Expand Up @@ -107,7 +107,6 @@ export class Ray extends Mixin(RayColors, RaySizes) {
remote_path: null,
always_send_raw_values: false,
not_defined: false,
intercept_console_log: false,
};
}

Expand Down Expand Up @@ -137,7 +136,6 @@ export class Ray extends Mixin(RayColors, RaySizes) {
remote_path: null,
always_send_raw_values: false,
not_defined: false,
intercept_console_log: false,
};
}

Expand All @@ -149,10 +147,14 @@ export class Ray extends Mixin(RayColors, RaySizes) {
return this;
}

public interceptor() {
public interceptor(): ConsoleInterceptor {
return Ray.interceptor;
}

public client(): Client {
return Ray.client;
}

public enable(): this {
Ray.enabled = true;

Expand Down

0 comments on commit b369a94

Please sign in to comment.