1
I’m using the Nlog, and for each client logged into the system I would like to create a log generation behavior as follows:
[nome-cliente-1]-[dataAtual].txt
[nome-cliente-2]-[dataAtual].txt
Ex: Joao-da-silva-01-11-2016.txt
I would like the information to be written in the generated file only on the day. If I arrived at midnight I would create another file, so that there is one file per day for each client.
- It is possible to do this?
I searched for tutorials but found nothing like.
On the question of 'per day' of a look on this wiki page nlog, in the 'Time-based archival file' section. Unfortunately it is in English.
– Genos