Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILoggerServer

Hierarchy

  • Disposable & { getClient?: any; setClient: any }
    • ILoggerServer

Implemented by

Index

Properties

NULL

NULL: Disposable = create(() => { })

Methods

child

  • child(name: string): Promise<void>

create

dispose

  • dispose(): void

Optional getClient

  • getClient(): Client | undefined

getLogLevel

  • getLogLevel(name: string): Promise<number>

is

  • is(arg: any): arg is Disposable

log

  • log(name: string, logLevel: number, message: any, params: any[]): Promise<void>

setClient

  • setClient(client: Client | undefined): void
  • If this server is a proxy to a remote server then a client is used as a local object to handle JSON-RPC messages from the remote server.

    Parameters

    • client: Client | undefined

    Returns void

setLogLevel

  • setLogLevel(name: string, logLevel: number): Promise<void>