@@ -18,7 +18,7 @@ import {DeleteCallback} from '@google-cloud/common';
1818import { promisifyAll } from '@google-cloud/promisify' ;
1919import * as arrify from 'arrify' ;
2020import * as extend from 'extend' ;
21- import { CallOptions } from 'google-gax/build/src/gax ' ;
21+ import { CallOptions } from 'google-gax' ;
2222import * as is from 'is' ;
2323import { Response } from 'request' ;
2424
@@ -531,8 +531,9 @@ class Log implements LogSeverityFunctions {
531531 }
532532
533533 /**
534- * This method is a wrapper around {module:logging#getEntriesStream}, but with a
535- * filter specified to only return {module:logging/entry} objects from this log.
534+ * This method is a wrapper around {module:logging#getEntriesStream}, but with
535+ * a filter specified to only return {module:logging/entry} objects from this
536+ * log.
536537 *
537538 * @method Log#getEntriesStream
538539 * @param {GetEntriesRequest } [query] Query object for listing entries.
@@ -601,9 +602,14 @@ class Log implements LogSeverityFunctions {
601602 * });
602603 */
603604 info ( entry : Entry | Entry [ ] , options ?: WriteOptions ) : Promise < ApiResponse > ;
604- info ( entry : Entry | Entry [ ] , options : WriteOptions , callback : ApiResponseCallback ) : void ;
605+ info (
606+ entry : Entry | Entry [ ] , options : WriteOptions ,
607+ callback : ApiResponseCallback ) : void ;
605608 info ( entry : Entry | Entry [ ] , callback : ApiResponseCallback ) : void ;
606- info ( entry : Entry | Entry [ ] , optionsOrCallback ?: WriteOptions | ApiResponseCallback , cb ?: ApiResponseCallback ) :void | Promise < ApiResponse > {
609+ info (
610+ entry : Entry | Entry [ ] ,
611+ optionsOrCallback ?: WriteOptions | ApiResponseCallback ,
612+ cb ?: ApiResponseCallback ) : void | Promise < ApiResponse > {
607613 const options =
608614 typeof optionsOrCallback === 'object' ? optionsOrCallback : { } ;
609615 const callback =
@@ -641,9 +647,14 @@ class Log implements LogSeverityFunctions {
641647 * });
642648 */
643649 notice ( entry : Entry | Entry [ ] , options ?: WriteOptions ) : Promise < ApiResponse > ;
644- notice ( entry : Entry | Entry [ ] , options : WriteOptions , callback : ApiResponseCallback ) : void ;
650+ notice (
651+ entry : Entry | Entry [ ] , options : WriteOptions ,
652+ callback : ApiResponseCallback ) : void ;
645653 notice ( entry : Entry | Entry [ ] , callback : ApiResponseCallback ) : void ;
646- notice ( entry : Entry | Entry [ ] , optionsOrCallback ?: WriteOptions | ApiResponseCallback , cb ?: ApiResponseCallback ) :void | Promise < ApiResponse > {
654+ notice (
655+ entry : Entry | Entry [ ] ,
656+ optionsOrCallback ?: WriteOptions | ApiResponseCallback ,
657+ cb ?: ApiResponseCallback ) : void | Promise < ApiResponse > {
647658 const options =
648659 typeof optionsOrCallback === 'object' ? optionsOrCallback : { } ;
649660 const callback =
@@ -681,9 +692,14 @@ class Log implements LogSeverityFunctions {
681692 * });
682693 */
683694 warning ( entry : Entry | Entry [ ] , options ?: WriteOptions ) : Promise < ApiResponse > ;
684- warning ( entry : Entry | Entry [ ] , options : WriteOptions , callback : ApiResponseCallback ) : void ;
695+ warning (
696+ entry : Entry | Entry [ ] , options : WriteOptions ,
697+ callback : ApiResponseCallback ) : void ;
685698 warning ( entry : Entry | Entry [ ] , callback : ApiResponseCallback ) : void ;
686- warning ( entry : Entry | Entry [ ] , optionsOrCallback ?: WriteOptions | ApiResponseCallback , cb ?: ApiResponseCallback ) :void | Promise < ApiResponse > {
699+ warning (
700+ entry : Entry | Entry [ ] ,
701+ optionsOrCallback ?: WriteOptions | ApiResponseCallback ,
702+ cb ?: ApiResponseCallback ) : void | Promise < ApiResponse > {
687703 const options =
688704 typeof optionsOrCallback === 'object' ? optionsOrCallback : { } ;
689705 const callback =
@@ -750,8 +766,8 @@ class Log implements LogSeverityFunctions {
750766 *
751767 * //-
752768 * // To save some steps, you can also pass in plain values as your entries.
753- * // Note, however, that you must provide a configuration object to specify the
754- * // resource.
769+ * // Note, however, that you must provide a configuration object to specify
770+ * // the resource.
755771 * //-
756772 * const entries = [
757773 * {
@@ -784,9 +800,14 @@ class Log implements LogSeverityFunctions {
784800 * Another example:
785801 */
786802 write ( entry : Entry | Entry [ ] , options ?: WriteOptions ) : Promise < ApiResponse > ;
787- write ( entry : Entry | Entry [ ] , options : WriteOptions , callback : ApiResponseCallback ) : void ;
803+ write (
804+ entry : Entry | Entry [ ] , options : WriteOptions ,
805+ callback : ApiResponseCallback ) : void ;
788806 write ( entry : Entry | Entry [ ] , callback : ApiResponseCallback ) : void ;
789- write ( entry : Entry | Entry [ ] , optionsOrCallback ?: WriteOptions | ApiResponseCallback , cb ?: ApiResponseCallback ) : void | Promise < ApiResponse > {
807+ write (
808+ entry : Entry | Entry [ ] ,
809+ optionsOrCallback ?: WriteOptions | ApiResponseCallback ,
810+ cb ?: ApiResponseCallback ) : void | Promise < ApiResponse > {
790811 const options =
791812 typeof optionsOrCallback === 'object' ? optionsOrCallback : { } ;
792813 const callback =
@@ -866,7 +887,8 @@ class Log implements LogSeverityFunctions {
866887 * @param {object|object[] } entries - Log entries.
867888 * @param {string } severity - The desired severity level.
868889 */
869- static assignSeverityToEntries_ ( entries : Entry | Entry [ ] , severity : string ) : Entry [ ] {
890+ static assignSeverityToEntries_ ( entries : Entry | Entry [ ] , severity : string ) :
891+ Entry [ ] {
870892 return arrify ( entries ) . map ( entry => {
871893 const metadata = extend ( true , { } , entry . metadata , {
872894 severity,
0 commit comments