Skip to content

Commit

Permalink
change default logging to json (#5)
Browse files Browse the repository at this point in the history
* change default logging to json

* bump version
  • Loading branch information
DenisCarriere authored Sep 23, 2024
1 parent ce7d733 commit e7f9d52
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ echo "CREATE DATABASE eos_transactions_v1 ON CLUSTER <cluster>" | clickhouse cli
> Linux x86 only
```console
$ wget https://github.com/pinax-network/antelope-transactions-api/releases/download/v0.3.1/antelope-transactions-api
$ wget https://github.com/pinax-network/antelope-transactions-api/releases/download/v0.3.2/antelope-transactions-api
$ chmod +x ./antelope-transactions-api
$ ./antelope-transactions-api --help
Usage: antelope-transactions-api [options]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "antelope-transactions-api",
"description": "Transactions information from the Antelope blockchains",
"version": "0.3.1",
"version": "0.3.2",
"homepage": "https://github.com/pinax-network/antelope-transactions-api",
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class TsLogger extends Logger<ILogObj> {
this.settings.name = `${APP_NAME}:${APP_VERSION.version}+${APP_VERSION.commit}`;
}

public enable(type: "pretty" | "json" = "pretty") {
public enable(type: "pretty" | "json" = "json") {
this.settings.type = type;
this.settings.minLevel = 0;
this.info("Enabled logger");
Expand Down
2 changes: 1 addition & 1 deletion src/typespec/openapi3.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using TypeSpec.OpenAPI;
name: "MIT",
url: "https://github.com/pinax-network/antelope-transactions-api/blob/75db1c61477ac7ea5e56f775cefe54875af953d4/LICENSE",
},
version: "0.3.1",
version: "0.3.2",
}) // From @typespec/openapi
//@server("https://eos.api.pinax.network/v1", "EOS V1 Api Endpoint")
namespace AntelopeTransactionsApi;
Expand Down
2 changes: 1 addition & 1 deletion static/@typespec/openapi3/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "MIT",
"url": "https://github.com/pinax-network/antelope-transactions-api/blob/75db1c61477ac7ea5e56f775cefe54875af953d4/LICENSE"
},
"version": "0.3.1"
"version": "0.3.2"
},
"tags": [
{
Expand Down

0 comments on commit e7f9d52

Please sign in to comment.