mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
added missing file
This commit is contained in:
9
compiler/compilerlog.nim
Normal file
9
compiler/compilerlog.nim
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
from os import getHomeDir, `/`
|
||||
|
||||
proc logStr*(line: string) =
|
||||
var f: File
|
||||
if open(f, getHomeDir() / "nimsuggest.log", fmAppend):
|
||||
f.writeLine(line)
|
||||
f.close()
|
||||
|
||||
Reference in New Issue
Block a user