# -*- coding: utf-8 -*-
#
-# Copyright (C) 2008-2020 EDF R&D
+# Copyright (C) 2008-2022 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
import ExtendedLogging ; ExtendedLogging.ExtendedLogging(level=20)
On peut éventuellement demander à l'objet de sortir aussi les messages dans
- un fichier (noms par défaut : Aidsm.log, niveau NOTSET) :
+ un fichier (noms par défaut : AdaoOutputLogfile.log, niveau NOTSET) :
import ExtendedLogging ; ExtendedLogging.ExtendedLogging().setLogfile()
Si on veut changer le nom du fichier ou le niveau global de message, il faut
import time
from daCore import PlatformInfo
-LOGFILE = os.path.join(os.path.abspath(os.curdir),"AssimilationStudy.log")
+LOGFILE = os.path.join(os.path.abspath(os.curdir),"AdaoOutputLogfile.log")
# ==============================================================================
class ExtendedLogging(object):