Where does logs in myCallback come from in C1_W2_Lab1 Exercise 8

I am relatively new to programming, and was trying to understand how the callback works. I don’t understand where the logs comes from in the myCallback class below. Is it an attribute or method of the class? I can’t seem to find it in the output of ‘print(dir(myCallback))’

class myCallback(tf.keras.callbacks.Callback):
  def on_epoch_end(self, epoch, logs={}):
    if(logs.get('accuracy') >= 0.95): # Experiment with changing this value
      print("\nReached 60% accuracy so cancelling training!")
      self.model.stop_training = True

Please see this link. Click on View source to see the definition of on_epoch_end.