Skip to content

Changed die() statements to custom exceptions and added a new constructor option.#1

Open
Dragory wants to merge 1 commit intoJoeynoh:masterfrom
Dragory:master
Open

Changed die() statements to custom exceptions and added a new constructor option.#1
Dragory wants to merge 1 commit intoJoeynoh:masterfrom
Dragory:master

Conversation

@Dragory
Copy link

@Dragory Dragory commented Jan 14, 2013

I added a custom Exception class LogException and replaced the class's die() statements with LogException throws.

I also added a third parameter to the constructor that allows the user to change the timestamp format.

(I also combined the public/const keywords for the class properties/constants.)

…. Also added an option to change the timestamp format in the constructor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant