0.1.2 • Published 4 months ago

sf-debug-log v0.1.2

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
4 months ago

sf-debug-log

Commands to manage Salesforce debug logs.

Create trace flags for any user in the org selecting the debug level and time. Retrive Apex logs related to a specific user to analyze them locally.

Install

sf plugins install sf-debug-log

Commands

sf trace new

USAGE
  $ sf trace new -o <value> [-u <value>] [-t <value>]

FLAGS
  -o, --targetusername=<value>  [required] Username or alias of the target Salesforce org.
  -t, --time=<value> [default: 60] The number of minutes to trace.
  -u, --name=<value> [default: targetusername] Username, Name, or ID of the user for whom you want to retrieve the logs.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Create a new trace flag.

  This command is used to create a trace flag for a specific user in the Salesforce org.

EXAMPLES
  sf trace new -o DeveloperEdition -u "Raffaele Preziosi" -t 10

sf debug retrieve

USAGE
  $  sf debug retrieve -o <value> [-u <value>] [-t <value>] [-d <value>]

FLAGS
  -d, --folder=<value>          [default: .sfdx/tools/debug/logs] The folder where the retrieved log files will be stored.
  -o, --targetusername=<value>  (required) Username or alias of the target Salesforce org.
  -t, --time=<value>            [default: 60] The number of minutes to retrieve log files for.
  -u, --user=<value>            [default: targetusername] Username, Name, or ID of the user for whom you want to retrieve the logs.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Retrieve Apex log files from the Salesforce platform.

  This command allows you to retrieve Apex log files from a Salesforce org.

EXAMPLES
  sf debug retrieve -o DeveloperEdition -u "Raffaele Preziosi" -t 10

sf debug delete

USAGE
  $  sf debug delete -o <value> [--json] [-u <value>] [-t <value>] [-a]

FLAGS
  -a, --all                     Delete log files for all users.
  -o, --targetusername=<value>  (required) Username or alias of the target Salesforce org.
  -t, --time=<value>            The number of minutes to retrieve log files for.
  -u, --user=<value>            [default: targetusername] Username, Name, or ID of the user for whom you want to delete the logs.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Delete Apex log files from a Salesforce org.

EXAMPLES
  sf debug delete -o DeveloperEdition -u "Raffaele Preziosi" -t 10

sf debuglevel new

USAGE
  $ sf debuglevel new -o <value> [-n <value>]

FLAGS
  -o, --targetusername=<value>  [required] Username or alias of the target Salesforce org.
  -n, --name=<value> [required] The developer name of the new DebugLevel.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Create a new DebugLevel.

  Create a new DebugLevel assigning level for each category.

EXAMPLES
  sf debuglevel new -o DeveloperEdition -n "DebugLevel"
0.1.2

4 months ago

0.1.1

4 months ago

0.0.23

5 months ago

0.0.22

6 months ago

0.0.21

6 months ago

0.0.20

7 months ago

0.0.19

7 months ago

0.0.18

7 months ago

0.0.17

7 months ago

0.0.16

7 months ago

0.0.15

7 months ago

0.0.14

7 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago