Skip to content

Commit

Permalink
refactor: protect logger properties
Browse files Browse the repository at this point in the history
Signed-off-by: Bryce McMath <bryce.j.mcmath@gmail.com>
  • Loading branch information
bryce-mcmath committed Dec 13, 2024
1 parent df7b684 commit 3d645bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/legacy/core/App/services/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { BifoldError } from '../types/error'

export class BifoldLogger extends BaseLogger {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
_log: any
_config = {
protected _log: any
protected _config = {
levels: {
test: 0,
trace: 0,
Expand Down
4 changes: 2 additions & 2 deletions packages/remote-logs/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export class RemoteLogger extends BifoldLogger {
private remoteLoggingAutoDisableTimer: ReturnType<typeof setTimeout> | undefined
private eventListener: EmitterSubscription | undefined
// eslint-disable-next-line @typescript-eslint/no-explicit-any
_log: any
_config = {
protected _log: any
protected _config = {
levels: {
test: 0,
trace: 0,
Expand Down

0 comments on commit 3d645bb

Please sign in to comment.