mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-10 20:59:55 +00:00
fix: Respect logging enabling on instantiation of logger
Change-type: patch Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
parent
67b5503ac4
commit
328b07a092
@ -245,6 +245,7 @@ export class Logger {
|
||||
) {
|
||||
this.backend = new ResinLogBackend(apiEndpoint, uuid, deviceApiKey);
|
||||
this.backend.offlineMode = offlineMode;
|
||||
this.backend.publishEnabled = enableLogs;
|
||||
}
|
||||
|
||||
public enable(value: boolean = true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user