Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for loggin levels #49

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Add option for loggin levels #49

merged 2 commits into from
Oct 17, 2023

Conversation

UrosPurtic
Copy link
Contributor

No description provided.

src/Logger.php Outdated
public function logAppend(\G4\Log\Data\LoggerAbstract $data)
{
$data->setExcluded($this->exclude);
$data->setAppVersionNumber($this->version);
$this->adapter->saveAppend($data->getRawData());
}

public function runtimeLog($var, $tag = false, $index = self::DEFAULT_LINE)
/**
* @param $var
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For whose granma's health is adding a @param without specifying the type?

src/Logger.php Outdated
$this->log($data);
}
}

/**
* @param $var
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here add the type, and for every @docblock

@ppavlovic ppavlovic merged commit 4a27210 into g4code:master Oct 17, 2023
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.

2 participants