KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | List of all members
logger_utilities.FileLogger Class Reference

A context responsible for managing the lifetime of logger files. More...

Collaboration diagram for logger_utilities.FileLogger:

Public Member Functions

def __init__ (self, str logger_file_name)
 
def __enter__ (self)
 
def __exit__ (self, exit_type, exit_value, exit_traceback)
 

Detailed Description

A context responsible for managing the lifetime of logger files.

Constructor & Destructor Documentation

◆ __init__()

def logger_utilities.FileLogger.__init__ (   self,
str  logger_file_name 
)

Member Function Documentation

◆ __enter__()

def logger_utilities.FileLogger.__enter__ (   self)

◆ __exit__()

def logger_utilities.FileLogger.__exit__ (   self,
  exit_type,
  exit_value,
  exit_traceback 
)

The documentation for this class was generated from the following file: