Created
December 23, 2015 23:19
-
-
Save mitkot/f2c8dad2ab8e02186e8a to your computer and use it in GitHub Desktop.
AppendLog(ruby)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "time" | |
def AppendLog(f) | |
f.print Time.now.strftime("%Y-%m-%d %H:%M:%S.%6N")+"\n" | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment