Function useLogFile

  • Function to use a log file instead of the console log.

    Author

    M.Karkowski

    Export

    Backend

    Only in Nodejs available

    Parameters

    • Optional pathToFile: string = DEFAULT_FILE

      Path to the logfile

    • Optional bufferSize: number = 100

      Default Buffer-Size. If > 0 we will write the log with buffering.

    Returns (() => Promise<void>)

      • (): Promise<void>
      • Returns Promise<void>

Generated using TypeDoc