from Path import Paths

class Messages:
    
    def __init__(self):
        self.messsagespath = "messages.log"
    
    def savemessages(self, date, messages, statu, case):
        with open(self.messsagespath, "a+") as f:
            f.write(f'{date} {statu} {messages} {case}\n')

#mess = Messages()
#mess.savemessages("2021-2-20-10:40", "file not find", "error")

f2c58e444247ce30613c4a6f137e24258800fc48
<mask token>


class Messages:
    <mask token>
    <mask token>

<mask token>


class Messages:
    <mask token>

    def savemessages(self, date, messages, statu, case):
        with open(self.messsagespath, 'a+') as f:
            f.write(f'{date} {statu} {messages} {case}\n')

<mask token>


class Messages:

    def __init__(self):
        self.messsagespath = 'messages.log'

    def savemessages(self, date, messages, statu, case):
        with open(self.messsagespath, 'a+') as f:
            f.write(f'{date} {statu} {messages} {case}\n')

from Path import Paths


class Messages:

    def __init__(self):
        self.messsagespath = 'messages.log'

    def savemessages(self, date, messages, statu, case):
        with open(self.messsagespath, 'a+') as f:
            f.write(f'{date} {statu} {messages} {case}\n')

from Path import Paths

class Messages:
    
    def __init__(self):
        self.messsagespath = "messages.log"
    
    def savemessages(self, date, messages, statu, case):
        with open(self.messsagespath, "a+") as f:
            f.write(f'{date} {statu} {messages} {case}\n')

#mess = Messages()
#mess.savemessages("2021-2-20-10:40", "file not find", "error")
