|
jkoster Newbie
Joined: 30 Aug 2005 Posts: 6 Location: Eureka, CA, USA
|
Posted: Tue Mar 13, 2007 7:37 pm
%time and Logging |
Is it possible to use the #LOG command to start a logfile using %time to generate the filename?
For instance, some variation of this:
#LOG (%time).txt |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Mar 13, 2007 7:41 pm |
Yep. I do this myself:
#log Imperian-%char-%time(yyyy-mm-dd).txt
I do it y-m-d so that when they're sorted alphabetically they're in chronological order. |
|
|
|
jkoster Newbie
Joined: 30 Aug 2005 Posts: 6 Location: Eureka, CA, USA
|
Posted: Tue Mar 13, 2007 7:45 pm |
Awesome.
Thank you for confirming my suspicions! |
|
|
|
|
|