ForceBalance API  1.3
Automated optimization of force fields and empirical potentials
List of all members | Public Member Functions
src.molecule.RawStreamHandler Class Reference

Exactly like output.StreamHandler except it does no extra formatting before sending logging messages to the stream. More...

Inheritance diagram for src.molecule.RawStreamHandler:
[legend]
Collaboration diagram for src.molecule.RawStreamHandler:
[legend]

Public Member Functions

def __init__ (self, stream=sys.stdout)
 
def emit (self, record)
 

Detailed Description

Exactly like output.StreamHandler except it does no extra formatting before sending logging messages to the stream.

This is more compatible with how output has been displayed in ForceBalance. Default stream has also been changed from stderr to stdout

Definition at line 202 of file molecule.py.

Constructor & Destructor Documentation

◆ __init__()

def src.molecule.RawStreamHandler.__init__ (   self,
  stream = sys.stdout 
)

Definition at line 203 of file molecule.py.

Member Function Documentation

◆ emit()

def src.molecule.RawStreamHandler.emit (   self,
  record 
)

Definition at line 206 of file molecule.py.


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