Options
All
  • Public
  • Public/Protected
  • All
Menu

Wrapper for Logger component

Hierarchy

  • CcfLogger

Index

Constructors

Properties

Methods

Constructors

  • new CcfLogger(module?: string, className?: string): CcfLogger
  • Get the module name and class name while create logger object

    example
    const logger = new Logger('module name', class name');
    

    Parameters

    • Optional module: string

      Module name as an optional

    • Optional className: string

      Class name as an optional

    Returns CcfLogger

Properties

logger: Logger

Methods

  • example
    console.debug('log debug');
    

    Parameters

    • functionName: string

      Log function message

    • message: string

      Log message

    • Optional data: ContactLog | AgentLog | SkillLog

      Log data object

    Returns void

  • example
    console.error('log error');
    

    Parameters

    • functionName: string

      Log function message

    • message: string

      Log message

    • Optional data: ContactLog | AgentLog | SkillLog

      Log data object

    Returns void

  • example
    console.info('log info');
    

    Parameters

    • functionName: string

      Log function message

    • message: string

      Log message

    • Optional data: ContactLog | AgentLog | SkillLog

      Log data object

    Returns void

  • example
    console.trace('log info');
    

    Parameters

    • functionName: string

      Log function message

    • message: string

      Log message

    • Optional data: ContactLog | AgentLog | SkillLog

      Log data object

    Returns void

Generated using TypeDoc