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

[iceworks][3.x] 前端日志 #1825

Merged
merged 4 commits into from Apr 18, 2019
Merged

[iceworks][3.x] 前端日志 #1825

merged 4 commits into from Apr 18, 2019

Conversation

@alvinhui
Copy link
Collaborator

alvinhui commented Apr 16, 2019

image

如何使用?

import log from '@utils/logger';
const logger = log.getLogger('moduleName');

logger.debug(msg);
logger.info(msg);
logger.warn(msg);
logger.error(new Error(msg));
@chenbin92

This comment has been minimized.

Copy link
Collaborator

chenbin92 commented Apr 16, 2019

@alvinhui Eslint 处理一下

@chenbin92 chenbin92 self-requested a review Apr 16, 2019
alvinhui added 3 commits Apr 16, 2019
@chenbin92 chenbin92 merged commit d135c41 into iceworks/release-3.x Apr 18, 2019
4 checks passed
4 checks passed
WIP Ready for review
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
license/cla Contributor License Agreement is signed.
Details
@delete-merged-branch delete-merged-branch bot deleted the iceworks/logger branch Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.