Unverified Kaydet (Commit) 9cfeb052 authored tarafından Ali GOREN's avatar Ali GOREN Kaydeden (comit) GitHub

Merge pull request #6 from aligoren/dev

Fixed singleton return and some method comments added
......@@ -40,7 +40,7 @@ class Logger {
this.instance = this
}
return this
return this.instance
}
......@@ -59,6 +59,7 @@ class Logger {
/**
* @description This method will help to customize log messages.
* @param formatStr - The string which will formatted
* @function setFormat
* @todo
*/
public setFormat(formatStr: string) {
......@@ -68,6 +69,7 @@ class Logger {
/**
* @description This method helps to prepare output message
* @param details - An object
* @function setMessage
* @example
*
* const messageData = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment