def getDataPoint(line):
    """
      function to extract date, time, author and message from line.

    Parameters
    ----------
    line : TYPE
        DESCRIPTION.

    Returns : date, time, author,message
    -------

    """
    splitLine = line.split(' - ')

    dateTime = splitLine[0]

    if ',' not in dateTime:
        dateTime = dateTime.replace(' ', ', ', 1)

    date, time = dateTime.split(', ')

    message = ' '.join(splitLine[1:])

    splitMessage = message.split(': ')
    author = splitMessage[0]
    message = ' '.join(splitMessage[1:])
   
    return date, time, author, message