Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/public/docs/_examples/architecture/ts/app/logger.service.ts

8 lines
200 B
TypeScript
Raw Normal View History

docs: split intro into separate chapters, shuffle code, update to alph52 closes #483 A major refactoring of the intro chapters includes text revision and the addition of "module" as an 8th "basic building block". Incorporates John Papa feedback.
2015-12-11 15:37:35 -08:00
import {Injectable} from 'angular2/core';
(docs) DevGuide Introduction incorporates Pascal & Felipe suggestions includes running sample code for the architecture overview closes #417
2015-11-28 20:43:09 -08:00
@Injectable()
export class Logger {
log(msg: any) { console.log(msg); }
error(msg: any) { console.error(msg); }
warn(msg: any) { console.warn(msg); }
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 120ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API