class.logFactory

  • function
 

Take a type and console out that type to this.printIt()

Debug.logFactory(logType, ...)

Take a type and console out that type to this.printIt()

Parameters

  1. logType

    {String} log, warn, error, info, table, debug

  2. log {Array} Implicit arguments cast from the logger functions

Returns

{function() | null}

Returns this.printIt