Commit Graph

33 Commits

Author SHA1 Message Date
Sandeep Somavarapu
cdc8628d55 rename log service to logger 2021-02-05 11:38:39 +01:00
Sandeep Somavarapu
201b5a2057 move ext host log chanel contribution to ext host starter 2019-12-11 18:21:33 +01:00
Sandeep Somavarapu
b2fcf2d3a2 Fix #86663 2019-12-10 15:04:13 +01:00
Johannes Rieken
2700f41dab use desktop and web ext host logging service 2019-08-12 14:47:20 +02:00
Johannes Rieken
cb54db1850 move extHostLogService 2019-04-10 12:03:57 +02:00
Johannes Rieken
c92ce4014f move extHost.protocol to common, #70319 2019-03-19 15:46:01 +01:00
Sandeep Somavarapu
ef2a3e89fb #68927 use path.join 2019-02-19 12:48:00 +01:00
Benjamin Pasero
39566fa5e3 Reduce usages of extpath.normalizeWithSlashes() (#68928)
* adopt in tests

* adopt more join() that are straight forward

* more safe usages

* more adoption
2019-02-18 16:31:02 +01:00
Martin Aeschlimann
73a912ce9e rename pathext.join to joinWithSlashes 2019-02-18 10:36:09 +01:00
Benjamin Pasero
b0acf49b18 paths - move path to extpath 2019-02-12 20:36:23 +01:00
Alex Dima
9cf36cdf8f Rename CanonicalExtensionIdentifier to ExtensionIdentifier 2019-01-07 12:00:54 +01:00
Alex Dima
25417553be Adopt case insensitive extension identifiers 2018-12-21 12:41:41 +01:00
Rob Lourens
514217add5 Fix #64273 - EH log levels start at 1 2018-12-05 13:29:38 -08:00
Matt Bierner
8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Sandeep Somavarapu
c1a6295edf Ability to create log file channels from extension host 2018-09-07 11:53:13 +02:00
Sandeep Somavarapu
810efbc85f - Remove windowId from IInitData
- Send exthost logs location from renderer
- IExtensionService: Expose an API to get exthost logs location
2018-09-04 18:42:24 +02:00
Johannes Rieken
66205890dd Revert "Revert "remove proposed Logger-api, #43275""
This reverts commit 315cce8314.
2018-08-20 15:31:33 +02:00
Johannes Rieken
315cce8314 Revert "remove proposed Logger-api, #43275"
This reverts commit 1c72ab243c.
2018-08-17 11:04:35 +02:00
Johannes Rieken
1c72ab243c remove proposed Logger-api, #43275
we keep the LogLevel-enum and the plan is to accept the log level when
calling OutputChannel#appendLine so that
logging is supported there
2018-08-17 09:47:26 +02:00
Alex Dima
262134cfd8 Reduce extension host IInitData 2018-03-20 16:55:38 +01:00
Matt Bierner
c48acbb1c9 Move log level API to env
Moves the log level API to env
2018-03-19 12:52:55 -07:00
Matt Bierner
e822e655b5 Move logDirectory to ExtensionContext (#45922)
* Move the logDirectory to extensionContext

Moves the proposed `logDirectory` to `ExtensionContext` and make it synchronous

* Use string for path instead of URI
2018-03-16 14:07:09 -07:00
Matt Bierner
81767beaca Make Event a named export
There are many places in the code that do `import Event, { ...} from '.../event'`.
2018-03-14 14:25:30 -07:00
Rob Lourens
93681eb439 Fix #42624 - add _ between extension ID and sequence number in log folder name 2018-01-31 09:37:59 -08:00
Rob Lourens
5109beb79c Include windowId in per-extension log folder name 2018-01-29 14:12:12 -08:00
Sandeep Somavarapu
652077a7c1 💄 2018-01-26 12:52:49 +01:00
Sandeep Somavarapu
07d50ff62e Fix #39574 2018-01-23 20:31:07 +01:00
Sandeep Somavarapu
c9b291978c #39574 Implement log level transmission to extension host 2018-01-23 19:31:12 +01:00
Sandeep Somavarapu
de24732aa9 Implement #39574 2018-01-23 17:28:53 +01:00
Joao Moreno
9914a95ddf buffer spdlog calls in main until singleton
fixes #41218
2018-01-09 15:55:10 +01:00
Rob Lourens
35c7351761 More ExtHostLogger tweaks, and remove logLevel syncing code, for real investigation later 2017-12-13 14:16:00 -08:00
Rob Lourens
d279e2de6c Make logger API proposed, add jsdoc, and match some extension API conventions better 2017-12-13 14:02:27 -08:00
Rob Lourens
daa3a0ec2e Add ExtHostLogService with logger and lazily created log folder per extension 2017-12-12 19:07:41 -08:00