Added the ability to log all weights and biases