Fetching details from the dictionary...
according to ...; ... says
彼曰く、もうやらないそうだ。
According to him, he apparently won't do it anymore.
師匠曰く、基礎を疎かにするなとのことだった。
The master said not to neglect the fundamentals.
古典には曰く、礼を知らざれば立つことなしとある。
The classics say that without knowing proper conduct one cannot stand in society.