logger: { error: any; log: any; warn: any } = ...

A simple tagged logger.

You can replace the methods with your own ones.

import { logger } from 'pixi-live2d-display';

logger.log = (tag, ...messages) => {
console.log(tag, 'says:', ...messages);
};

Type declaration

  • error:function
    • Parameters

      • tag: string
      • Rest ...messages: any[]

      Returns void

  • log:function
    • Parameters

      • tag: string
      • Rest ...messages: any[]

      Returns void

  • warn:function
    • Parameters

      • tag: string
      • Rest ...messages: any[]

      Returns void

Generated using TypeDoc