mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
general crack dialog: working on log...
This commit is contained in:
parent
1b77c7e1e1
commit
7fd18ae8b1
@ -12,6 +12,7 @@ from salome.smesh import smeshBuilder
|
||||
import SMESH
|
||||
import math
|
||||
import bisect
|
||||
import traceback
|
||||
|
||||
# from extractionOrientee import extractionOrientee
|
||||
# from extractionOrienteeMulti import extractionOrienteeMulti
|
||||
@ -51,6 +52,7 @@ from construitMaillagePipe import construitMaillagePipe
|
||||
from mailleAretesEtJonction import mailleAretesEtJonction
|
||||
from mailleFacesFissure import mailleFacesFissure
|
||||
from mailleFacesPeau import mailleFacesPeau
|
||||
from fissError import fissError
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# --- procédure complète fissure générale
|
||||
|
@ -12,6 +12,7 @@ loglevel = warning
|
||||
|
||||
def setDebug(logfile=None):
|
||||
global loglevel
|
||||
logging.shutdown()
|
||||
if logfile:
|
||||
logging.basicConfig(filename=logfile,
|
||||
format='%(relativeCreated)d %(funcName)s[%(lineno)d] %(message)s',
|
||||
@ -24,6 +25,7 @@ def setDebug(logfile=None):
|
||||
|
||||
def setVerbose(logfile=None):
|
||||
global loglevel
|
||||
logging.shutdown()
|
||||
if logfile:
|
||||
logging.basicConfig(filename=logfile,
|
||||
format='%(relativeCreated)d %(funcName)s[%(lineno)d] %(message)s',
|
||||
@ -36,6 +38,7 @@ def setVerbose(logfile=None):
|
||||
|
||||
def setRelease(logfile=None):
|
||||
global loglevel
|
||||
logging.shutdown()
|
||||
if logfile:
|
||||
logging.basicConfig(filename=logfile,
|
||||
format='%(funcName)s[%(lineno)d] %(message)s',
|
||||
@ -48,6 +51,7 @@ def setRelease(logfile=None):
|
||||
|
||||
def setUnitTests(logfile=None):
|
||||
global loglevel
|
||||
logging.shutdown()
|
||||
if logfile:
|
||||
logging.basicConfig(filename=logfile,
|
||||
format='%(funcName)s[%(lineno)d] %(message)s',
|
||||
@ -60,6 +64,7 @@ def setUnitTests(logfile=None):
|
||||
|
||||
def setPerfTests(logfile=None):
|
||||
global loglevel
|
||||
logging.shutdown()
|
||||
if logfile:
|
||||
logging.basicConfig(filename=logfile,
|
||||
format='%(relativeCreated)d %(funcName)s[%(lineno)d] %(message)s',
|
||||
|
Loading…
Reference in New Issue
Block a user