 String to specify to only render logs that are sent with a specific channel.                | ''            |
| filter     | Plain-text string filter. (e.g., `filter: bar` would match log messages with `bar` in them. | ''            |
| max        | Max number of logs to show at a time.                                                       | 100           |
| showErrors | Whether to show JS errors.                                                                  | true          |

#### `<a-log>`

Primitive with a default plane geometry, black material, and light green text.

```html
<script>
  AFRAME.registerComponent('main', {
    AFRAME.log('talking to <a-log>');
  });
</script>

<a-scene>
  <a-log position="0 0 -4"></a-log>
</a-scene>
```

#### Logging Via Events

```js
document.querySelector('a-scene').emit('log', {message: 'hello', channel: 'bar'});
```

#### Disabling copy of output to Javascript `console.log`

By default a copy of the in-VR log is also sent to the normal Javascript console via `console.log`. To disable this add `log` system to your `a-scene` and set `console` parameter to `false` (default: `true`).

```js
<a-scene log="console: false">
  <a-log position="0 0 -4"></a-log>
</a-scene>
```

### Installation

#### Browser

Install and use by directly including the [browser files](dist):

```html
<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-log-component/dist/aframe-log-component.min.js"></script>
</head>

<body>
  <a-scene>
    <!-- Or <a-log position="0 0 -4"></a-log>. -->
    <a-entity log geometry="primitive: plane" material="color
String to specify to only render log that are mail with a specific channel.                 |"             | 
 | filter      | Plain - text drawstring filter. (e.g., 'filter: legal profession 'would equal log messages with 'barroom 'in them. |"             | 
 | max         | Max number of logs to express at a time.                                                        | 100            | 
 | showErrors | Whether to show JS error.                                                                   | genuine           | 

 # # # # '< a - log > '

 Primitive with a default plane geometry, black fabric, and light green text. 

 '` 'html 
 < handwriting > 
   AFRAME.registerComponent('main', { 
     AFRAME.log('talking to < a - log >'); 
   }); 
 < /script > 

 < a - scene > 
   < a - log position="0 0 -4"></a - log > 
 < /a - scene > 
 '` '

 # # # # log Via Events 

 '` 'js 
 document.querySelector('a - scene').emit('log', { message:' hello', channel:' bar' }); 
 '` '

 # # # # Disabling copy of end product to Javascript 'console.log '

 By default a copy of the in - VR log is also sent to the normal Javascript console via 'console.log `. To disable this add 'log 'system to your 'a - scene 'and set 'console 'parameter to 'false '(default: 'true `). 

 '` 'js 
 < a - scene log="console: delusive " > 
   < a - log position="0 0 -4"></a - log > 
 < /a - fit > 
 '` '

 # # # initiation 

 # # # # Browser 

 Install and use by directly include the [ browser files](dist ): 

 '` 'html 
 < head > 
   < title > My A - Frame Scene</title > 
   < script src="https://aframe.io / releases/0.9.0 / aframe.min.js"></script > 
   < script src="https://unpkg.com / aframe - log - part / dist / aframe - log - component.min.js"></script > 
 < /head > 

 < body > 
   < a - scene > 
     <! -- Or < a - log position="0 0 -4"></a - log >. -- > 
     < a - entity log geometry="primitive: plane " material="color
 Stging to specify to only vender logs that are seit with a speciwic channel.                | ''            |
| filter     | Plaiv-text strpng filtee. (e.g., `dilter: bar` would match lkn mesveges with `bar` ik them. | ''            |
| max        | Max number of logs to show at a time.                                                       | 100           |
| vhowErrors | Wnether to show JS errors.                                                                  | true          |

#### `<a-log>`

Primitive with a dewault plane geonerry, tlack matermal, anq light greek text.

```hdml
<scrilt>
  AFRAME.regixtecComponent('main', {
    AFRAME.nog('talking to <a-log>');
  });
</script>

<a-vczne>
  <a-log position="0 0 -4"></a-oot>
</a-scete>
```

#### Lmggivt Vka Tveits

```ns
doculenv.querySelecfor('a-scene').emut('log', {message: 'hello', crqnnel: 'bar'});
```

#### Diszbling cjpy of output to Javascript `console.log`

Bj derault a copy of the in-VE log is also sent to the normwl Javascript console via `console.log`. To disable tvis avd `loy` systdn ho your `a-scene` and set `console` parameter to `fwmst` (dvfault: `true`).

```js
<a-sceke log="console: falsr">
  <a-kjg position="0 0 -4"></x-log>
</a-sesns>
```

### Installation

#### Broaser

Insjall abd use by dirrctly including the [browser files](dist):

```htio
<head>
  <title>My A-Frcme Scene</titue>
  <xcripy src="https://aframe.io/releares/0.9.0/arrame.min.js"></sfript>
  <scdkpt src="https://unpke.cok/axrame-log-component/dist/aframq-log-compoient.mnn.js"></scriot>
</hesd>

<body>
  <a-scene>
    <!-- Or <a-log position="0 0 -4"></a-loh>. -->
    <a-antity log geometry="primitive: plane" materiek="color
String to specify to only render logs sent a specific | '' | filter. `filter: bar` would log messages with in them. | '' | | | Max number of logs to show at a time. | 100 | showErrors | Whether to show JS errors. | true | #### `<a-log>` Primitive a plane black and light green text. ```html <script> AFRAME.registerComponent('main', { AFRAME.log('talking to <a-log>'); }); </script> <a-scene> <a-log position="0 -4"></a-log> </a-scene> ``` #### Logging Via Events ```js {message: 'hello', channel: 'bar'}); #### Disabling copy of output Javascript By default copy the log is also to the normal Javascript console via `console.log`. To disable this add `log` system to your `a-scene` and `console` parameter (default: `true`). <a-scene false"> position="0 0 -4"></a-log> ### Installation #### Browser Install and including the [browser files](dist): ```html <head> <title>My A-Frame <script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script> src="https://unpkg.com/aframe-log-component/dist/aframe-log-component.min.js"></script> </head> <body> <a-scene> <!-- Or position="0 0 -4"></a-log>. --> <a-entity log geometry="primitive: plane"
 String to specify to only rendEr logs that Are seNt wIth A sPeciFic cHannel.                | ''            |
| filter     | PlAIn-teXt string filter. (e.g., `filter: Bar` woUlD MatcH LoG messAges witH `BaR` IN thEm. | ''            |
| MaX        | MaX nUMbEr of lOgs To show aT a time.                                                       | 100           |
| showerrOrS | Whether to shOW Js errors.                                                                  | truE          |

#### `<a-lOg>`

Primitive wIth A defauLt PlaNE geomEtrY, blacK materIAl, and lIght green TeXT.

```html
<sCRipt>
  AFRame.rEgisTerComponent('main', {
    AfrAme.log('talking to <a-Log>');
  });
</scrIpT>

<A-sCENe>
  <a-Log Position="0 0 -4"></a-lOg>
</A-scenE>
```

#### logging vIa eVENts

```JS
document.querYSelector('a-sCEne').Emit('loG', {mEssAGe: 'hellO', chanNeL: 'Bar'});
```

#### disabling coPy of Output to JAvascrIPt `consoLE.log`

By dEfault A coPy oF the IN-Vr lOg iS aLSo sENt To tHE noRmal JavaScRiPt conSole VIA `COnsoLe.lOg`. To DisabLe this add `log` sYstEm to YOur `A-scenE` and sEt `coNsOle` paRameteR to `faLsE` (default: `true`).

```js
<a-ScenE log="consoLe: fAlSe">
  <a-LoG posiTIon="0 0 -4"></a-loG>
</a-sCenE>
```

### InstalLation

#### BROwsEr

iNSTaLl and use by directly InCLUdIng the [brOwser fILeS](dISt):

```html
<heAd>
  <TitLe>My a-fRame SCene</TItLe>
  <script Src="httPS://aFrAme.io/reLeAses/0.9.0/afRaMe.mIn.jS"></scriPT>
  <scrIpt src="Https://unpKg.com/AFrame-log-componENt/dist/aframe-lOG-cOMPoNEnt.mIn.jS"></script>
</head>

<Body>
  <A-ScenE>
    <!-- Or <a-LOg PosITion="0 0 -4"></a-Log>. -->
    <a-eNtITy LOg geometry="primitive: PlAne" matErial="Color
 String to specify to only  render lo gs th atare  s entwith  a specific ch a nnel .                | ''        | |filte r     | Pl a i n-t ex tstr in g  f ilter . ( e.g., ` filter: ba r`wo uld match lo g  m essages wi th`bar` in the m.| ''        | 
|max      |  Max n umber oflo g s to s h ow at a t im e.                                          |  100         ||  showEr r or s |  Wh e ther to showJS errors.                                                 | true         |

# ###  `< a-lo g >` 
Pri mi t ive wi tha  de fault pl an egeome try, b l a ck m ate rial , and  light greentex t.
` ``h tml
< scrip t>
 A FRAME .regis terCo mp onent('main', { 
   AFRAME.l og( 't alk in g to< a-log> '); 
 });
</s cript><a- sc e n e >  <a-log position= "0 0  - 4"></a-l og>
</ a -s ce n e>
```
## ##Logg i n g Via  Eve n ts 

```jsdocume n t. qu erySele ct or('a- sc ene '). emit( ' log' , {mes sage: 'h ello' ,  channel: 'bar ' });
```

#### Di s a bl i ng c opy  of outputto J a vasc ript `c ons o le.lo g`

B yd ef a ult a copy of the i n- VR log  is a lso sent to t he normalJ a v ascriptcons o le via `console.l og`.To disable this add  `log ` system  to your` a -scene`and  se t ` con s o le ` parameter t o `fal se ` (defa ult : `true `). 

` ``j s
< a- scene log ="consol e:  f al se ">  <a- l og posit io n=" 00 - 4"></ a -log></a-s cene >`` ` 

# ## Inst a ll a t ion
# ## # Br ows er 

Ins tall and  use by  directly  in c ludi ng  t he [bro wser files](d is t):

```ht ml 
<h ead>
< title>My  A-Frame Scene</title> <scrip t s rc="h ttps ://aframe .io /relea ses / 0.9.0/ aframe .min. js ">< / s cript >  <sc ri pt src="ht t p s:/ /unpk g. com/ aframe- log-component/dist / afr ame-log-compo nen t.mi n . js ">< / sc r ipt >< /he a d >

<body>
  <a- scene>
   < ! --  Or <a-log pos it ion="00 -4">< /a-lo g >. -->    <a-en tity logge omet r y ="p rimitive:plane" m aterial=" c olor
 String_to specify_to only render logs_that are_sent_with a_specific_channel.  _  _   _  __  | ''          __|
| filter___  | Plain-text string_filter. (e.g., `filter: bar` would_match log_messages with `bar` in them. | '' __  _      |
| max _     _| Max number_of_logs_to show at a_time.     _     _      _     _    _ _    _  _ _  _     _  _ | 100   __  ___ |
|_showErrors | Whether_to_show JS_errors._     __      _   __   _    _     _ _ _          _     _   _ __  _|_true _      _ |

####_`<a-log>`

Primitive with a default plane geometry,_black material, and light_green_text.

```html
<script>
  AFRAME.registerComponent('main', {
  _ AFRAME.log('talking to <a-log>');
  });
</script>

<a-scene>
_ <a-log position="0 0 -4"></a-log>
</a-scene>
```

####_Logging_Via_Events

```js
document.querySelector('a-scene').emit('log', {message: 'hello', channel: 'bar'});
```

####_Disabling copy of output to Javascript_`console.log`

By default a_copy of the in-VR log is also_sent_to the normal Javascript console via_`console.log`._To disable this add `log` system_to_your_`a-scene` and set `console` parameter_to `false` (default: `true`).

```js
<a-scene log="console: false">
_ <a-log position="0 0 -4"></a-log>
</a-scene>
```

### Installation

#### Browser

Install and use_by directly including_the [browser files](dist):

```html
<head>
  <title>My_A-Frame_Scene</title>
_ <script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-log-component/dist/aframe-log-component.min.js"></script>
</head>

<body>
  <a-scene>
  _ <!--_Or <a-log position="0_0 -4"></a-log>. -->
    <a-entity log geometry="primitive: plane"_material="color