16 lines
431 B
Nim
16 lines
431 B
Nim
# --==--==--==--==--==--==--==--==--==--==--==--==--==--==-- #
|
|
# IMPORTS
|
|
# --==--==--==--==--==--==--==--==--==--==--==--==--==--==-- #
|
|
import std/locks
|
|
import std/os
|
|
import strutils
|
|
import std/logging
|
|
|
|
# --==--==--==--==--==--==--==--==--==--==--==--==--==--==-- #
|
|
# section : création du répertoire log
|
|
# --==--==--==--==--==--==--==--==--==--==--==--==--==--==-- #
|
|
let dir = "./log"
|
|
if not dirExists(dir):
|
|
createDir(dir)
|
|
|