Skip to content

Instantly share code, notes, and snippets.

View SorcererGrey's full-sized avatar

Dylan Lavery SorcererGrey

View GitHub Profile
@SorcererGrey
SorcererGrey / Logger.php
Last active October 25, 2018 07:54
Logger class for PHP that creates both .txt and .md log files
<?php
class Logger {
private $logFolder, $txtLogFile, $mdLogFile;
function __construct() {
$this->logFolder = __DIR__ . "/../logs/";
$this->txtLogFile = $this->logFolder . "logs.txt";
$this->mdLogFile = $this->logFolder . "logs.md";
@SorcererGrey
SorcererGrey / keybase.md
Created August 23, 2016 22:18
Keybase verification for my Github account

Keybase proof

I hereby claim:

  • I am SorcererGrey on github.
  • I am sorcerergrey (https://keybase.io/sorcerergrey) on keybase.
  • I have a public key whose fingerprint is AE95 9E7F 6709 5068 2DF7 CDAD 19AA DF87 653E F7DD

To claim this, I am signing this object: