Contact 311, to file a complaint. A service request will be submitted for Municipal Licensing & Standards to investigate light from buildings or vehicle headlights shining directly into a dwelling.
The emphasis has to be placed on "directly" before it can be considered a violation.
Toronto Municipal Code Chapter 629-17A. Buffering Property that, because of its use, occupancy or other reasons, creates a nuisance to other properties in the neighbourhood shall be buffered from these properties so as to minimize the effect of the nuisance by the provision and maintenance of:
Read more about Apartment Building Standards.