code: def writer():
      watcher = tw.Watcher(filename=r"c:\temp\test.log", port=None)
  
      with watcher.create_stream("metric1") as stream1:
          for i in range(3):
              stream1.write((i, i * i))
  
      with watcher.create_stream("metric2") as stream2:
          for i in range(3):
              stream2.write((i, i * i * i))
  
imports: import tensorwatch
label_desc: Use image node_id 1 for calling a global function with example usage: writer() without return types