Answer the question
In order to leave comments, you need to log in
How to make records with the output of their time?
I want to make a terminal page, as in the console, as if you write something and you, as in the terminal, gives out everything according to the records. But I don’t know how to make time for each entry:
For example, a person enters the input / find user command. He should be given in the terminal:
[TERMINAL] [here is the time] The user used the command /find the user, and for each output entry, what would be the time of its appearance in the terminal was made up and attached, I think they understood me, this is like a console)
Example:
[TERMINAL] [17:19] User "one" used the command "find in database"
[TERMINAL] [17:20] Access denied!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question