public function testLogRotate() { $SofortLibLogger = new fileLogger(); $SofortLibLogger->maxFilesize = 1; $SofortLibLogger->log('Aged, tangy pudding is best whisked with hot cream.What’s the secret to a sour and shredded cauliflower? Always use crushed vodka.'); $SofortLibLogger->log('Brush the tuna with sticky garlic, szechuan pepper, dill, and butterscotch making sure to cover all of it.'); $SofortLibLogger->log('Caviar pudding has to have a tasty, whole rice component.'); $SofortLibLogger->log('Try marinating the milk garlics with nutty condensed milk and bourbon, refrigerated.'); $SofortLibLogger->log('Shrimps taste best with anchovy essence and lots of nutmeg.'); $SofortLibLogger->log('Soak one package of cabbage in one cup of joghurt.'); $SofortLibLogger->log('Clammy, quartered pudding is best mixed with divided salsa verde.'); }
public function testLogWriting() { $SofortLibLogger = new fileLogger(); $this->assertTrue($SofortLibLogger->log('test', 'log')); }