@wiptheia/core
Theia is a cloud & desktop IDE framework implemented in TypeScript.
Last updated 2 years ago by florentbenoit .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @wiptheia/core 
SYNC missed versions from official npm registry.

Theia - Core extension

Logging configuration

It's possible to change the log level for the entire Theia application by passing it the --log-level={fatal,error,warn,info,debug,trace} option. For more fine-grained adjustment, it's also possible to set the log level per logger (i.e. per topic). The root logger is a special catch-all logger through which go all messages not sent through a particular logger. To change the log level of particular loggers, create a config file such as

{
  "defaultLevel": "info",
  "levels": {
    "terminal": "debug",
    "task": "error"
  }
}

where levels contains the logger-to-log-level mapping. defaultLevel contains the log level to use for loggers not specified in levels. This file can then be specified using the --log-config option. Theia will watch that file for changes, so it's possible to change log levels at runtime by modifying this file.

It's unfortunately currently not possible to query Theia for the list of existing loggers. However, each log message specifies from which logger it comes from, which can give an idea, without having to read the code:

[2018-05-10T20:01:45.608Z]  INFO: Theia/7045 on elxacz23q12: (logger=root)
                            ^^^^                                     ^^^^
			 log level                                logger name

License

Apache-2.0

Current Tags

  • 0.3.101529329103                                ...           latest (2 years ago)

27 Versions

  • 0.3.101529329103                                ...           2 years ago
  • 0.3.101529316316                                ...           2 years ago
  • 0.3.101528895082                                ...           2 years ago
  • 0.3.101528878795                                ...           2 years ago
  • 0.3.101528708905                                ...           2 years ago
  • 0.3.101528377761                                ...           2 years ago
  • 0.3.101528290741                                ...           2 years ago
  • 0.3.101528281264                                ...           2 years ago
  • 0.3.101528129305                                ...           2 years ago
  • 0.3.101527835504                                ...           2 years ago
  • 0.3.101527832848                                ...           2 years ago
  • 0.3.101527753241                                ...           2 years ago
  • 0.3.101527588686                                ...           2 years ago
  • 0.3.101527586002                                ...           2 years ago
  • 0.3.101527002539                                ...           2 years ago
  • 0.3.101526987926                                ...           2 years ago
  • 0.3.101526566172                                ...           2 years ago
  • 0.3.101526551125                                ...           2 years ago
  • 0.3.101526482398                                ...           2 years ago
  • 0.3.101526459551                                ...           2 years ago
  • 0.3.101526392268                                ...           2 years ago
  • 0.3.101526308334                                ...           2 years ago
  • 0.3.101525848197                                ...           2 years ago
  • 0.3.10-1525791437                                ...           2 years ago
  • 0.3.10-1525707650                                ...           2 years ago
  • 0.3.10-1525704775                                ...           2 years ago
  • 0.3.10-1525702354                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (31)
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |