class_docstr: A custom logger to log stdout to a logging file.
class_docstr_tok: ["A","custom","logger","to","log","stdout","to","a","logging","file","."]
docstr: Initialize the logger.
  
  Parameters
  ---------
  path : str
      The file path to be stored in.
docstr_tok: ["Initialize","the","logger",".","Parameters","--","--","--","--","-","path",":","str","The","file","path","to","be","stored","in","."]
code: def __init__(self, path):
      """Initialize the logger.
  
      Parameters
      ---------
      path : str
          The file path to be stored in.
      """
      self.path = path
  
file_path: dgl/examples/pytorch/graphsaint/utils.py
imports: import json
  import os
  from functools import namedtuple
  import dgl
  import numpy
  import scipy.sparse
  import torch
  from sklearn.metrics import f1_score
  from sklearn.preprocessing import StandardScaler
label_desc: Use image node_id 1 to create a new Logger object from inherited base classes: object with example: obj = Logger(path)