Skip to content

Commit

Permalink
Update UseConsoleLog
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Jan 22, 2025
1 parent cae1035 commit fe48ea7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>1.0.0-beta.5</Version>
<Version>1.0.0-beta.6</Version>
</PropertyGroup>
</Project>
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ public override void OnStartup()

#### UseConsoleLog

The `UseConsoleLog` is `false` by default to disable/enable the console log for the internal `DesignApplication` methods.
The `UseConsoleLog` is `true` by default to disable/enable the console log for the internal `DesignApplication` methods.
```C#
public class App : DesignApplication<DesignAutomation>
{
public override bool UseConsoleLog => true; // false by default
public override bool UseConsoleLog => false; // true by default
}
```

Expand Down Expand Up @@ -115,7 +115,7 @@ public class App : DesignApplication<DesignAutomation>

The `ricaun.Revit.DA.Tests` test project requires some environment variables with the APS configuration to enable running Design Automation for Revit and test the `ricaun.Revit.DA.Example`.

The project use the package [Autodesk.Forge.Oss.DesignAutomation](https://github.com/ricaun-io/forge-api-dotnet-oss.design.automation) with the `APS_CLIENT_ID` and `APS_CLIENT_SECRET`.
The project use the package [Autodesk.Forge.Oss.DesignAutomation](https://github.com/ricaun-io/forge-api-dotnet-oss.design.automation) with the environment variables `APS_CLIENT_ID` and `APS_CLIENT_SECRET`.

```
APS_CLIENT_ID=<your client id>
Expand Down
4 changes: 2 additions & 2 deletions ricaun.Revit.DA/DesignApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public abstract class DesignApplication : IExternalDBApplication, IDesignAutomat
/// <summary>
/// Gets a value indicating whether to use console logging for the internal <see cref="DesignApplication"/> methods.
/// </summary>
/// <remarks>The default value is 'false'.</remarks>
public virtual bool UseConsoleLog => false;
/// <remarks>The default value is 'true'.</remarks>
public virtual bool UseConsoleLog => true;
/// <summary>
/// Gets the controlled application.
/// </summary>
Expand Down

0 comments on commit fe48ea7

Please sign in to comment.